Commit 3fe60efd authored by Olivier Crête's avatar Olivier Crête 👻

Version 0.1.8

parent 382f44be
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) libnice 0.1.7 (2014-05-05)
========================== ==========================
Fix undesired API change that broke Farstream unit testsx Fix undesired API change that broke Farstream unit testsx
......
...@@ -253,7 +253,7 @@ nice_address_equal (const NiceAddress *a, const NiceAddress *b); ...@@ -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 * Returns: %TRUE if @a and @b are the same address, %FALSE if they
* are different * are different
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
gboolean gboolean
nice_address_equal_no_port (const NiceAddress *a, const NiceAddress *b); nice_address_equal_no_port (const NiceAddress *a, const NiceAddress *b);
......
...@@ -606,7 +606,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -606,7 +606,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* If #NiceAgent:ice-tcp is set to %FALSE, then this property cannot be set * If #NiceAgent:ice-tcp is set to %FALSE, then this property cannot be set
* to %FALSE as well. * to %FALSE as well.
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
g_object_class_install_property (gobject_class, PROP_ICE_UDP, g_object_class_install_property (gobject_class, PROP_ICE_UDP,
g_param_spec_boolean ( g_param_spec_boolean (
...@@ -639,7 +639,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -639,7 +639,7 @@ nice_agent_class_init (NiceAgentClass *klass)
</para> </para>
* </note> * </note>
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
g_object_class_install_property (gobject_class, PROP_ICE_TCP, g_object_class_install_property (gobject_class, PROP_ICE_TCP,
g_param_spec_boolean ( g_param_spec_boolean (
...@@ -672,7 +672,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -672,7 +672,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* bytestream mode will be supported. * bytestream mode will be supported.
* </para> * </para>
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
g_object_class_install_property (gobject_class, PROP_BYTESTREAM_TCP, g_object_class_install_property (gobject_class, PROP_BYTESTREAM_TCP,
g_param_spec_boolean ( g_param_spec_boolean (
...@@ -695,7 +695,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -695,7 +695,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* This is always enabled if the compatibility mode is * This is always enabled if the compatibility mode is
* %NICE_COMPATIBILITY_GOOGLE. * %NICE_COMPATIBILITY_GOOGLE.
* *
* Since: 0.1.7 * Since: 0.1.8
*/ */
g_object_class_install_property (gobject_class, PROP_KEEPALIVE_CONNCHECK, g_object_class_install_property (gobject_class, PROP_KEEPALIVE_CONNCHECK,
g_param_spec_boolean ( g_param_spec_boolean (
...@@ -766,7 +766,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -766,7 +766,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* the Foundation of a Candidate is not a unique identifier. * the Foundation of a Candidate is not a unique identifier.
* *
* See also: #NiceAgent::new-selected-pair-full * 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] = signals[SIGNAL_NEW_SELECTED_PAIR] =
g_signal_new ( g_signal_new (
...@@ -795,7 +795,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -795,7 +795,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* *
* See also: #NiceAgent::candidate-gathering-done, * See also: #NiceAgent::candidate-gathering-done,
* #NiceAgent::new-candidate-full * #NiceAgent::new-candidate-full
* Deprecated: UNRELEASED: Use #NiceAgent::new-candidate-full * Deprecated: 0.1.8: Use #NiceAgent::new-candidate-full
*/ */
signals[SIGNAL_NEW_CANDIDATE] = signals[SIGNAL_NEW_CANDIDATE] =
g_signal_new ( g_signal_new (
...@@ -825,7 +825,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -825,7 +825,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* candidate. * candidate.
* *
* See also: #NiceAgent::new-remote-candidate-full * 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] = signals[SIGNAL_NEW_REMOTE_CANDIDATE] =
g_signal_new ( g_signal_new (
...@@ -930,7 +930,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -930,7 +930,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* #NiceAgent::new-selected-pair. * #NiceAgent::new-selected-pair.
* *
* See also: #NiceAgent::new-selected-pair * See also: #NiceAgent::new-selected-pair
* Since: UNRELEASED * Since: 0.1.8
*/ */
signals[SIGNAL_NEW_SELECTED_PAIR_FULL] = signals[SIGNAL_NEW_SELECTED_PAIR_FULL] =
g_signal_new ( g_signal_new (
...@@ -956,7 +956,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -956,7 +956,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* *
* See also: #NiceAgent::candidate-gathering-done, * See also: #NiceAgent::candidate-gathering-done,
* #NiceAgent::new-candidate * #NiceAgent::new-candidate
* Since: UNRELEASED * Since: 0.1.8
*/ */
signals[SIGNAL_NEW_CANDIDATE_FULL] = signals[SIGNAL_NEW_CANDIDATE_FULL] =
g_signal_new ( g_signal_new (
...@@ -983,7 +983,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -983,7 +983,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* also emitted with the candidate's foundation. * also emitted with the candidate's foundation.
* *
* See also: #NiceAgent::new-remote-candidate * See also: #NiceAgent::new-remote-candidate
* Since: UNRELEASED * Since: 0.1.8
*/ */
signals[SIGNAL_NEW_REMOTE_CANDIDATE_FULL] = signals[SIGNAL_NEW_REMOTE_CANDIDATE_FULL] =
g_signal_new ( g_signal_new (
......
...@@ -1498,7 +1498,7 @@ nice_agent_forget_relays (NiceAgent *agent, ...@@ -1498,7 +1498,7 @@ nice_agent_forget_relays (NiceAgent *agent,
* Returns: the #NiceComponentState of the component and * Returns: the #NiceComponentState of the component and
* %NICE_COMPONENT_STATE_FAILED if the component was invalid. * %NICE_COMPONENT_STATE_FAILED if the component was invalid.
* *
* Since: 0.1.7 * Since: 0.1.8
*/ */
NiceComponentState NiceComponentState
nice_agent_get_component_state (NiceAgent *agent, nice_agent_get_component_state (NiceAgent *agent,
......
...@@ -445,7 +445,7 @@ typedef struct { ...@@ -445,7 +445,7 @@ typedef struct {
* *
* Reasons for calling closedown(). * Reasons for calling closedown().
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
typedef enum { typedef enum {
CLOSEDOWN_LOCAL, CLOSEDOWN_LOCAL,
...@@ -658,7 +658,7 @@ pseudo_tcp_socket_class_init (PseudoTcpSocketClass *cls) ...@@ -658,7 +658,7 @@ pseudo_tcp_socket_class_init (PseudoTcpSocketClass *cls)
* *
* Support is enabled by default. * Support is enabled by default.
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
g_object_class_install_property (object_class, PROP_SUPPORT_FIN_ACK, g_object_class_install_property (object_class, PROP_SUPPORT_FIN_ACK,
g_param_spec_boolean ("support-fin-ack", "Support FIN–ACK", g_param_spec_boolean ("support-fin-ack", "Support FIN–ACK",
......
...@@ -140,17 +140,17 @@ typedef enum { ...@@ -140,17 +140,17 @@ typedef enum {
* @TCP_ESTABLISHED: The socket is connected * @TCP_ESTABLISHED: The socket is connected
* @TCP_CLOSED: The socket has been closed * @TCP_CLOSED: The socket has been closed
* @TCP_FIN_WAIT_1: The socket has been closed locally but not remotely * @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 * @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 * @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 * @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 * @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 * @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 * An enum representing the state of the #PseudoTcpSocket. These states
* correspond to the TCP states in RFC 793. * correspond to the TCP states in RFC 793.
...@@ -201,7 +201,7 @@ typedef enum { ...@@ -201,7 +201,7 @@ typedef enum {
* pseudo_tcp_socket_shutdown(). These correspond to the values passed to POSIX * pseudo_tcp_socket_shutdown(). These correspond to the values passed to POSIX
* shutdown(). * shutdown().
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
typedef enum { typedef enum {
PSEUDO_TCP_SHUTDOWN_RD, PSEUDO_TCP_SHUTDOWN_RD,
...@@ -375,7 +375,7 @@ void pseudo_tcp_socket_close(PseudoTcpSocket *self, gboolean force); ...@@ -375,7 +375,7 @@ void pseudo_tcp_socket_close(PseudoTcpSocket *self, gboolean force);
* This is equivalent to the POSIX shutdown() function. Setting @how to * This is equivalent to the POSIX shutdown() function. Setting @how to
* %PSEUDO_TCP_SHUTDOWN_RDWR is equivalent to calling pseudo_tcp_socket_close(). * %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); void pseudo_tcp_socket_shutdown (PseudoTcpSocket *self, PseudoTcpShutdown how);
...@@ -552,7 +552,7 @@ gsize pseudo_tcp_socket_get_available_send_space (PseudoTcpSocket *self); ...@@ -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 * This function is intended for testing only, and should not be used in
* production code. * production code.
* *
* Since: UNRELEASED * Since: 0.1.8
*/ */
void pseudo_tcp_socket_set_time (PseudoTcpSocket *self, guint32 current_time); 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); ...@@ -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. * 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 * 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); gboolean pseudo_tcp_socket_is_closed (PseudoTcpSocket *self);
...@@ -580,7 +580,7 @@ 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, * Returns: %TRUE if the remote peer has closed its side of the connection,
* %FALSE otherwise * %FALSE otherwise
* Since: UNRELEASED * Since: 0.1.8
*/ */
gboolean pseudo_tcp_socket_is_closed_remotely (PseudoTcpSocket *self); gboolean pseudo_tcp_socket_is_closed_remotely (PseudoTcpSocket *self);
......
...@@ -5,8 +5,8 @@ dnl Always compile with -Wall; if --enable-compile-warnings=error is passed, ...@@ -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 also use -Werror. git and pre-releases default to -Werror
dnl use a three digit version number for releases, and four for cvs/prerelease dnl use a three digit version number for releases, and four for cvs/prerelease
AC_INIT([libnice],[0.1.7.1]) AC_INIT([libnice],[0.1.8])
LIBNICE_RELEASE="no" LIBNICE_RELEASE="yes"
AC_CANONICAL_TARGET AC_CANONICAL_TARGET
...@@ -39,9 +39,9 @@ AC_CONFIG_FILES([ ...@@ -39,9 +39,9 @@ AC_CONFIG_FILES([
# Increment CURRENT and AGE. Set REVISION to 0 # Increment CURRENT and AGE. Set REVISION to 0
# If there was an incompatible interface change: # If there was an incompatible interface change:
# Increment CURRENT. Set AGE and REVISION to 0 # Increment CURRENT. Set AGE and REVISION to 0
LIBNICE_CURRENT=14 LIBNICE_CURRENT=15
LIBNICE_REVISION=1 LIBNICE_REVISION=0
LIBNICE_AGE=4 LIBNICE_AGE=5
LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE} LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE}
LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION} -no-undefined" LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION} -no-undefined"
AC_SUBST(LIBNICE_LT_LDFLAGS) AC_SUBST(LIBNICE_LT_LDFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment