2003-06-17  MIYASHITA Hisashi  <himi@li18nux.org>

	* configure.ac (LIBIIIMP_MINOR_VERSION):
	Set the minor version to 3.
	(AC_INIT): Set version to 0.3.

2003-06-13  MIYASHITA Hisashi  <himi@li18nux.org>

	* data/iiimp-misc.c (iiimp_data_s_new): Must return a value.

	* misc/stream-socket.c (iiimf_listen_socket_stream):
	Set hints.ai_flags to AI_PASSIVE.  AI_ADDRCONF does not
	seem to appropriate for this case.

2003-06-12  MIYASHITA Hisashi  <himi@li18nux.org>

	* configure.ac (IM_CHECK_SOCKET): Check for socket facility.

	* Makefile.am (libiiimp_la_LDFLAGS): Used -g instead of -Wl,-g.
	(libiiimp_la_LIBADD): Link with $(SOCKET_LIBS).

2003-06-10  MIYASHITA Hisashi  <himi@li18nux.org>

	* configure.ac (AC_OUTPUT): Don't generate
	data/Makefile nor misc/Makefile, which are never
	used.

2003-06-05  MIYASHITA Hisashi  <himi@li18nux.org>

	* data/im-protocol-version.c: New file.

	* misc/stream.c (iiimf_stream_send): When iiimp_data_status is
	IIIMP_DATA_PROTOCOL_VERSION_ERROR, return
	IIIMF_STATUS_PROTOCOL_VERSION.

	* Makefile.am (libiiimp_la_SOURCES): Added
	data/im-protocol-version.c.

	* data/im-connect.c (iiimp_connect_new): Set
	data_s->protocol_version as a protocol version.
	(iiimp_connect_unpack): If the incoming protocol version
	is lower than we expected, downgrade the version.

	* data/iiimp-dataP.h (REQUIRE_PROTOCOL_VERSION): New macro.
	(iiimp_data_s): Add protocol_version.
	(iiimp_protcol_version_print): Added.

	* data/im-message.c (message_delete_func): Added
	iiimp_protocol_version_delete.
	(iiimp_message_pack<IM_PROTOCOL_VERSION>): Added.
	(message_unpack_func): Added iiimp_protocol_version_unpack.
	(message_print_func): Added
	iiimp_protocol_version_print.

	* data/iiimp-misc.c (iiimp_data_s_get_protocol_version):
	New function.
	(iiimp_data_s_with_protocol_version_new): New function.
	(iiimp_data_s_new): Made it only call
	iiimp_data_s_with_protocol_version_new.

	* data/iiimp-message.h (iiimp_protocol_version_delete)
	(iiimp_protocol_version_unpack): Added new decls.

2003-05-06  MIYASHITA Hisashi  <himi@li18nux.org>

	* configure.ac (LIBIIIMP_MINOR_VERSION, AC_INIT):
	Set minor version to 2.

2003-05-05  MIYASHITA Hisashi  <himi@li18nux.org>

	* data/comp-imattribute.c (iiimp_imattribute_unpack):
	Correctly set the remaining size to *nbyte.

2003-03-26  MIYASHITA Hisashi  <himi@li18nux.org>

	* Makefile.am (libiiimp_la_SOURCES): Add header files as well.
	(include_HEADERS): Install public header files.

	* Makefile.am (libdir): commented out.

2003-02-28  MIYASHITA Hisashi  <himi@li18nux.org>

	* data/comp-object-descriptor.c (iiimp_object_descriptor_unpack):
	Update attribute ID only if the dynamic ID is not a premitive predefined ID.

2003-01-28  MIYASHITA Hisashi  <himi@li18nux.org>

	* misc/stream-socket.c: Not include stream-socket.h, role-data-client.h,
	and role-data-server.h.
	(IIIMF_STREAM_SOCKET_FLAGS): New enum.
	(create_sockpriv, delete_sockpriv): New function.
	(stream_socket_client_open): Removed.  iiimf_connect_socket_stream is
	substituted for it.
	(iiimf_connect_socket_stream): New function.  It connects to "node:service"
	and create a new stream.
	(stream_socket_server_open): Removed.  iiimf_listen_socket_stream is
	substituted for it.
	(iiimf_listen_socket_stream): New function.  It listens to "node:service"
	and create a new stream.
	(stream_socket_server_accept): Removed.  iiimf_accept_socket_stream is
	substituted for it.
	(iiimf_accept_socket_stream): Accept a new incoming connection, and creates
	a new stream.
	(iiimf_delete_socket_stream): New function.
	(stream_socket_read): Adapt it to the new interface.  And when the connection
	is closed, return IIIMF_STATUS_CONNECTION_CLOSED.
	(stream_socket_write): Adapt it to the new interface.

	* misc/stream.c (iiimf_stream_receive): When stream->proc_read
	is not set, return IIIMF_STATUS_STREAM immediately.
	(iiimf_stream_send): Likewise.

	* misc/request.c (iiimf_send_message, iiimf_receive_message):
	Removed.

	* Makefile.am (libiiimp_la_SOURCES): Add stream-socket.c.
	* Makefile.in: Updated.

2003-01-21  MIYASHITA Hisashi  <himi@li18nux.org>

	* misc/request.c (iiimf_send_message, iiimf_receive_message):
	New functions.

	* misc/role-data-client.c (iiimf_im_user_set): New function.
	(iiimf_role_data_client_delete): Free items only if it is not NULL,
	and free client->password as well.
	(iiimf_role_data_client_auth_password): When role_data.client->password,
	duplicate and return it.

	* misc/role-data-client.h (IIIMF_role_data_client): add password.

2002-11-03  MIYASHITA Hisashi  <himi@li18nux.org>

	* misc/Makefile.in: Updated.
	* data/Makefile.in: Updated.
	* Makefile.in: Updated.

2002-10-28  MIYASHITA Hisashi  <himi@li18nux.org>

 	* data/Makefile.am (noinst_LIBRARIES): Define it
	after *_SOURCES macro variable.
	* misc/Makefile.am (noinst_LIBRARIES): Likewise.

	* data/Makefile.in: Updated.
	* misc/Makefile.in: Updated.
	* Makefile.in: Updated.
