require glib 2.12. check for timegm().
authorDan Winship <danw@src.gnome.org>
Sat, 17 Mar 2007 17:55:30 +0000 (17:55 +0000)
committerDan Winship <danw@src.gnome.org>
Sat, 17 Mar 2007 17:55:30 +0000 (17:55 +0000)
commit21db3a002da39d3d377795fdffa754087e116259
tree63a6df375f61b128e202550ed9475f409b137b81
parent4ca073650710468846ce567e55fb0b18d84703d1
require glib 2.12. check for timegm().

* configure.in: require glib 2.12. check for timegm().

* libsoup/soup-date.c (soup_mktime_utc): Use timegm if available.
(soup_date_iso8601_parse): use g_time_val_from_iso8601. #337010,
patch from Emmanuele Bassi.

* libsoup/soup-types.h: remove local copy of
G_GNUC_NULL_TERMINATED since we now depend on a new-enough copy of
glib.

* libsoup/soup-misc.c (soup_base64_encode_close)
(soup_base64_encode_step, soup_base64_encode)
(soup_base64_decode_step): Make these just be wrappers around the
glib base64 methods. (For now; eventually they'll just go away.)

* libsoup/soup-auth-basic.c (authenticate):
* libsoup/soup-auth-digest.c (authenticate):
* libsoup/soup-connection-ntlm.c (soup_ntlm_parse_challenge)
(soup_ntlm_response):
* libsoup/soup-server-auth.c (soup_server_auth_new):
* libsoup/soup-soap-message.c (soup_soap_message_write_base64):
* libsoup/soup-xmlrpc-message.c
(soup_xmlrpc_message_write_base64):
* libsoup/soup-xmlrpc-response.c (soup_xmlrpc_value_get_base64):
Use glib base64 methods

svn path=/trunk/; revision=921
13 files changed:
ChangeLog
configure.in
libsoup/soup-auth-basic.c
libsoup/soup-auth-digest.c
libsoup/soup-connection-ntlm.c
libsoup/soup-date.c
libsoup/soup-misc.c
libsoup/soup-misc.h
libsoup/soup-server-auth.c
libsoup/soup-soap-message.c
libsoup/soup-types.h
libsoup/soup-xmlrpc-message.c
libsoup/soup-xmlrpc-response.c