implementation of SoupCookieJar that persists to a text file in the old
authorDan Winship <danw@src.gnome.org>
Tue, 4 Nov 2008 20:30:37 +0000 (20:30 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 4 Nov 2008 20:30:37 +0000 (20:30 +0000)
commitae786f44ace1712be2b3899806202591cf074905
tree4bd9e83b29db66f98908fb24e54518dd53a27a06
parent07279b0c7e1eb3c931c1ae201574a58609e0f6bc
implementation of SoupCookieJar that persists to a text file in the old

* libsoup/soup-cookie-jar-text.c: implementation of SoupCookieJar
that persists to a text file in the old Mozilla cookies.txt
format.

* libsoup/soup-cookie-jar-sqlite.c: implementation of
SoupCookieJar that persists to an sqlite database in the new
Mozilla cookies.sqlite format. (Part of libsoup-gnome.)

* libsoup/soup-cookie-jar.c: add various functionality needed by
the two new subclasses. Does not break API/ABI compat with 2.24.

* libsoup/soup-cookie.c (soup_cookie_get_type): register
SoupCookie as a boxed type.
(domain_matches): fix a bug here that meant "foo.com" couldn't set
a cookie for domain=.foo.com
(soup_cookie_applies_to_uri): fix path checking

* configure.in: if building --with-gnome, require sqlite3

svn path=/trunk/; revision=1200
14 files changed:
ChangeLog
configure.in
libsoup/Makefile.am
libsoup/soup-cookie-jar-sqlite.c [new file with mode: 0644]
libsoup/soup-cookie-jar-sqlite.h [new file with mode: 0644]
libsoup/soup-cookie-jar-text.c [new file with mode: 0644]
libsoup/soup-cookie-jar-text.h [new file with mode: 0644]
libsoup/soup-cookie-jar.c
libsoup/soup-cookie-jar.h
libsoup/soup-cookie.c
libsoup/soup-cookie.h
libsoup/soup-gnome.h
libsoup/soup-marshal.list
libsoup/soup.h