| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Import glib-tap.mk to run the tests in TAP mode, and to provide rules
to install the tests.
This required some restructuring of httpd.conf-related stuff in order
to come up with a configuration that would work for all three cases
(srcdir==buildir, srcdir!=builddir, and installed).
|
|
|
|
|
|
|
|
| |
get, simple-httpd, and simple-proxy are more example code than test
programs, so move them into a separate directory.
Also, remove "dns", which was once a sort-of test of SoupAddress, but
is now just a redundant sort-of test of GResolver.
|
|
|
|
|
|
|
|
|
| |
The soup_tld_* set of functions along with the list of public suffixes
published in http://publicsuffix.org allows API clients to get the base
domain of a given hostname or to check if a given domain is a public suffix
(one under which internet users can register new names).
https://bugzilla.gnome.org/show_bug.cgi?id=673802
|
|
|
|
|
|
| |
There were already error messages in soup-request.c and
soup-requester.c marked for translation, and we'll be adding more
soon.
|
|
|
|
|
| |
Test drive Makefile.glib from bug 654395 (excepted distributed with
the tarball rather than using one installed with glib).
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641470
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Detect gobject-introspection (g-i) in configure, using the M4 macro
from the newly-added introspection.m4. This adds
gobject-introspection as a new *optional* build dependency.
- Integrate the generation of .gir and .typelib files into the build
build process.
- Add the annotations from gir-repository to the source code.
- Include annotation glossary in "Reference Manual" main file.
See <https://bugzilla.gnome.org/show_bug.cgi?id=576595>.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libraries.
* configure.in: Check for libproxy and/or gconf, accept
--without-gnome option, output libsoup-gnome-2.4.pc
* libsoup-gnome-2.4.pc: pc file for libsoup with GNOME support
* libsoup/Makefile.am: build libsoup-gnome.la if so configured
* libsoup/soup-gnome.h: base header for libsoup-gnome
* libsoup/soup-proxy-resolver-libproxy.c: An implementation of
SoupProxyResolver that uses libproxy.
* libsoup/soup-proxy-resolver-gconf.c: An implementation of
SoupProxyResolver that uses the proxy keys in GConf. Does not
completely handle ignore_hosts; this is currently just used as a
fallback if libproxy is not available.
* libsoup/soup-gnome-features.c: provides
SOUP_TYPE_PROXY_RESOLVER_GNOME (abstracting over
SoupProxyResolverGConf and SoupProxyResolverLibproxy) and
SOUP_TYPE_GNOME_FEATURES_2_26, which adds "all GNOME-specific
features in libsoup 2.26", which is currently just the proxy
resolver.
* libsoup/soup-session-async.c (resolved_proxy_addr): set
item->resolved_proxy_addr
(run_queue): resolve the proxy if !item->resolved_proxy_addr, not
if !item->proxy_addr, since the proxy addr might resolve to NULL.
* tests/Makefile.am (get_LDADD):
* tests/get.c: If we built libsoup-gnome, use it in "get" for
automatic proxy support
svn path=/trunk/; revision=1194
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libsoup-2.4.pc.in: rename from libsoup.pc.in; the attempt to
keep the source tree API-version-generic wasn't really working,
and we're probably not ever going to change the API version again
anyway.
* Makefile.am (pkgconfig_DATA): install the .pc file the normal
way rather than using an install-data-local rule to rename the .pc
file as we install it
* libsoup/Makefile.am (libsoupincludedir):
* tests/Makefile.am (LIBS):
* docs/reference/Makefile.am (GTKDOC_LIBS): Say "2.4" everywhere,
instead of 2.4 in some places and $(SOUP_API_VERSION) in others.
* configure.in: updates for .pc renaming. Also, use
AS_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH() rules
svn path=/trunk/; revision=1193
|
|
|
|
|
| |
* Makefile.am (uninstall-local): uninstall the pkgconfig file.
Based on #356809 from Matthew Barnes.
|
|
|
|
|
| |
* Makefile.am (install-data-local): Install the .pc file mode 644,
not 755. #330878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-18 Tor Lillqvist <tml@novell.com>
* configure.in: Call AC_LIBTOOL_WIN32_DLL. Check for Win32, set
Automake conditional OS_WIN32. Pre-cache information that we do
have getaddrinfo(), getnameinfo(), and IPv6 on Win32. (The tests
wouldn't notice as they don't include the necessary headers or
link with -lws2_32. Easiest to just pre-cache it.)
* libsoup-zip.in: New file, to build zipfile-based distribution of
libsoup for Win32.
* Makefile.am (EXTRA_DIST)
* configure.in (AC_OUTPUT): Add libsoup-zip(.in).
* libsoup/Makefile.am: Use -no-undefined on Win32. Link with
WinSock library -lws2_32.
* libsoup/soup-portability.h: New file. On Unix it includes the
traditional BSD socket etc headers. On Win32 it includes
winsock2.h and ws2tcpip.h.
* libsoup/*.c
* libsoup/*.h: Correspondingly, don't include the BSD socket API
headers directly.
* libsoup/soup-address.h
* libsoup/soup-dns.h: Include soup-portability.h
* libsoup/soup-address.c (soup_address_class_init): This function
should get called before libsoup uses the WinSock API, so this is
a good place to call WSAStartup().
* libsoup/soup-auth-digest.c (get_protection_space): Use
g_strsplit() instead of the relatively unportable strtok_r().
* libsoup/soun-dns.c: Remove unused headers. Implement
inet_pton() and inet_ntop() on Win32 using WSAStringToAddress()
and WSAAddressToString().
* libsoup/soup-socket.c (SOUP_CLOSE_SOCKET, SOUP_IS_SOCKET_ERROR,
SOUP_IS_INVALID_SOCKET, SOUP_IS_CONNECT_STATUS_INPROGRESS):
Portability macros.
(soup_socket_class_init): Call soup_address_get_type() to make
sure WSAStartup() gets called (through soup_address_class_init()).
(update_fdflags): Use ioctlsocket(FIONBIO) on Win32.
(soup_socket_write): Conditionalize SIGPIPE use.
* tests/get.c: mkdir() is different in Microsoft's C library.
* tests/simple-httpd.c: Rename TRY_AGAIN label to AGAIN to avoid
some clash with winsock2.h (which includes windows.h). The Win32
headers pollute the namespace wildly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: bump version to 2.3.0. bump SOUP_API_VERSION to
2.4
* libsoup.pc.in: rename from libsoup-2.2.pc.in
* Makefile.am (EXTRA_DIST, pkgconfig_DATA, install-data-local):
install the .pc file by hand, renaming it to include the
SOUP_API_VERSION
* libsoup/Makefile.am: s/2.2/2.4/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Replace old gtk-doc test with GTK_DOC_CHECK()
(AC_OUTPUT): add docs/Makefile, docs/reference/Makefile
* autogen.sh (REQUIRED_AUTOMAKE_VERSION): 1.6, for gtk-doc.make
* Makefile.am: updates for gtk-doc
(SUBDIRS): add back "docs"
* docs/Makefile.am (EXTRA_DIST): remove, since those old docs
aren't around any more
* docs/reference/*: set up gtk-doc
* libsoup/Makefile.am (INCLUDES): Change G_LOG_DOMAIN to
"libsoup". Remove unused defines.
* libsoup/soup-connection.c: Fix doc comments
* libsoup/soup-message.c: Likewise
* libsoup/soup-misc.c: Likewise
* libsoup/soup-socket.c: Likewise
* libsoup/soup-uri.c: Likewise
* libsoup/soup-address.h: Fixes to please gtk-doc
* libsoup/soup-connection.h: Likewise
* libsoup/soup-message.h: Likewise
* libsoup/soup-message-private.h: Likewise
* libsoup/soup-misc.h: Likewise
* libsoup/soup-server-auth.h: Likewise
* libsoup/soup-socket.h: Likewise
* libsoup/soup-status.h: Likewise
|
|
|
|
| |
* Makefile.am: Update for pc file rename
|
|
|
|
|
|
| |
2002-11-25 Joe Shaw <joe@ximian.com>
* Makefile.am: Build the tests directory again
|
|
|
|
| |
* configure.in: Don't require autoconf 2.5x, needs to work with 2.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libsoup/soup-address.c: Move the SoupAddress code from
soup-socket.c and soup-socket-unix.c to here.
* libsoup/soup-socket.c: Move the remaining code from
soup-socket-unix.c here.
* libsoup/soup-socket-unix.c: Gone
* tests/get.c: really really trivial test program
* configure.in (AC_OUTPUT):
* Makefile.am (SUBDIRS): add tests/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Split libsoup out of soup. ChangeLog.old contains the original
soup ChangeLog.
* Makefile.am, etc: Fix things up to work with the new directory
layout. Disable docs until we fix them.
* autogen.sh: Use gnome-autogen.sh
* configure.in: Require autoconf 2.53. Remove stuff that was only
needed for httpd or wsdl code. Remove glib1 support. Bump version
to 2.0.
* libsoup/Makefile.am: Rename library to libsoup-2.0, put includes
in ${includedir}/soup-2.0
* libsoup/*: Merge soup-0-7 back onto the trunk. Remove
SOAP-specific stuff, Windows support, and other things that
weren't being maintained.
* soup-config.in, soupConf.sh: Kill these. We only support
pkg-config now.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-14 Alex Graveley <alex@ximian.com>
* src/libsoup/soup-serializer.c
(soup_serializer_get_namespace_prefix): Return const string.
* Makefile.am (EXTRA_DIST): Install soup.m4.
* src/libwsdl/wsdl-soap-marshal.c:
* src/libwsdl/wsdl-typecodes.c:
* src/soup-wsdl/wsdl-parse.c: Formatting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-17 Dick Porter <dick@ximian.com>
* docs/reference: Extract gtk-doc documentation from the code
* tests/test-wsdl-runtime.c:
* tests/stockquote2-server.c:
* tests/stockquote2-client.c: Updated for new API
* tests/stress-test.c:
* tests/simple-test.c: Include installed soup headers
* configure.in: Check for gtk-doc
* tests/Makefile.am: Made example code just plain
"noinst_PROGRAMS", check_PROGRAMS are built as part of "make
dist". Wrestled with automake, automake won :-( I wanted to delete
the built sources from the dist target, and not have automake try
and recreate them with a non-existant soup-wsdl when I type "make
distcheck".
* Makefile.am: Took tests out of SUBDIRS, added a "make examples"
target instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-25 JP Rosevear <jpr@ximian.com>
* soup-config.in (lib_soup): get this script working again and add
wsdl
* Makefile.am: create and install new script
* configure.in: create variables for script substitution
* soup_wsdlConf.sh.in: gnome-config script for wsdl compilation
info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-08 JP Rosevear <jpr@ximian.com>
* soup_apacheConf.sh.in: script to provide soup-apache config info
through gnome-config
* Makefile.am: subst in the soup_apache config script
* configure.in: create vars for soup-apache config foo
* src/soup-core/soup-apache.c (soup_apache_handler): check for
null because content type can be null
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-07 JP Rosevear <jpr@ximian.com>
* soupConf.sh.in: use configure.in vars for subst
* configure.in: create variables for config script
* Makefile.am: generate the soupConf.sh script in the makefile for
proper substitution
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ChangeLog: Created from rcs2log.
* AUTHORS: Added Dick Porter.
* soup.pc.in, soup-config.in, soupConf.sh, soup.m4:
Created with a dash of Maintainer Love.
* soup.spec.in: RPM spec file. Needs fixing wrt to displaying the
OpenSSL license conditionally (if it was statically linked).
* Makefile.am: Updated to install new config scripts and macros.
* configure.in: add --enable-ssl, --with-ssl=[nss/openssl/none],
and --with-nss-prefix=PFX to support choosing of an SSL library to
use, even though openssl is the only one currently supported.
* src/soup-core/Makefile.am: don't install soup-ssl.h or
soup-socks.h, they're internal.
* src/soup-core/soup-ssl.c: wrap openssl calls with a conditional
to avoid building if --enable-ssl=no or NSS is chosen as the
library. soup_get_ssl_iochannel() will print "SSL Not Supported."
and return NULL if no library has been chosen.
* tests/stress-test.c: make the callback handle errors by
requeuing request and not just g_error'ing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Beginnings of test-suite added.
* Made SoupContext opaque. Removed SoupContextPrivate. Added soup_context_get_uri() to get the uri string for a given context.
* Added a response_headers hashtable to SoupRequest so the callback can do whatever it wants with passed headers. All entries in this hashtable are just parsed strings from req->priv->recv_buf, so no new strings are allocated.
* Renamed custom_headers to request_headers
* Fixed context creation logic
* Made soup_servers hashtable use case insensitive hostname matching.
* Removed SOUP_ERROR_URI_NOT_FOUND, SOUP_ERROR_URI_NOT_PERMITTED, and SOUP_ERROR_URI_OBJECT_MOVED from SoupCallbackResult enum. Its up to the application to figure out all the different HTTP states. This may change however.
* Added querystring to SoupUri, so that contexts can be cached based only on path.
* Added default port logic to SoupUri. Known protocols are https (port 443), http (80), smtp/mailto (25), and ftp (20).
|
|
|