summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup! soup-session: add soup_session_proxy_connect* functionswip/proxy-connectDan Winship2014-06-073-4/+13
|
* soup-session: add soup_session_proxy_connect* functionsDan Winship2014-06-074-36/+235
| | | | | | | | Add functions to connect to a remote host, possibly via an HTTP proxy. Based on a patch from Dirkjan Ochtman. https://bugzilla.gnome.org/show_bug.cgi?id=721343
* docs: ignore soup-socket-private.hEvan Nemerson2014-05-271-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730779
* Updated Czech translationMarek Černocký2014-05-171-22/+41
|
* Updated Hebrew translationYosef Or Boczko2014-05-161-25/+45
|
* Updated Spanish translationDaniel Mustieles2014-05-101-23/+44
|
* Updated Brazilian Portuguese translationEnrico Nicoletto2014-05-101-21/+43
|
* Pop the thread default main context not from the callback but from where it ↵Sebastian Dröge2014-05-072-8/+6
| | | | | | | | | was pushed Based on a patch by Dmitry Shatrov <shatrov@gmail.com>, see http://mail.gnome.org/archives/libsoup-list/2011-November/msg00000.html https://bugzilla.gnome.org/show_bug.cgi?id=729737
* Add tls-interaction property to SoupSessionDan Winship2014-05-036-16/+238
| | | | | | | | | | | | This can be used by applications to do client-side certificates via the new g_tls_interaction_request_certificate(). Will be used by OSTree at least. Also add a test to tls-test. Based on a patch from Colin Walters. https://bugzilla.gnome.org/show_bug.cgi?id=334021
* soup-session: fix connection-closing behavior on abortDan Winship2014-05-021-4/+10
| | | | | | | | | soup_session_abort()'s docs claim that it closes "all idle persistent connections", but it was actually trying to close *all* connections, including ones that were being actively used in other threads. Fix that. https://bugzilla.redhat.com/show_bug.cgi?id=1093314
* soup-server: add new-and-improved APIsDan Winship2014-05-0244-644/+2140
|\ | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=522519 https://bugzilla.gnome.org/show_bug.cgi?id=561547 https://bugzilla.gnome.org/show_bug.cgi?id=621138
| * SoupServer: add deprecation tags to deprecated APIDan Winship2014-05-021-0/+8
| |
| * tests: port old tests to new SoupServer APIs, add some new testsDan Winship2014-05-0229-329/+781
| |
| * soup-server: add new-and-improved APIsDan Winship2014-05-0215-315/+1351
|/ | | | | | | | | | Add new APIs to SoupServer, allowing multiple listening sockets on a server, and listening on an existing fd or GSocket, and with better error handling. https://bugzilla.gnome.org/show_bug.cgi?id=522519 https://bugzilla.gnome.org/show_bug.cgi?id=561547 https://bugzilla.gnome.org/show_bug.cgi?id=621138
* soup-socket: misc improvementsDan Winship2014-05-0212-282/+675
|\
| * soup-socket: add properties to create a SoupSocket from an fd or GSocketDan Winship2014-05-024-15/+361
| |
| * soup-socket: add flag close_on_dispose to SoupSocketDirkjan Ochtman2014-05-022-1/+18
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=721343
| * soup-socket: Add SoupSocketProperties to transfer props from session to socketDan Winship2014-05-027-233/+250
| | | | | | | | | | | | There are a large number of SoupSession properties that need to be propagated through the SoupConnection to the SoupSocket. Wrap them all up into a single struct for ease of carrying.
| * Add soup-socket-private.hDan Winship2014-05-027-36/+49
|/ | | | | SoupSocket-related stuff made up more than half of soup-misc-private.h. Split it out into its own header.
* soup-message-io: slight tweak to callback/error handlingDan Winship2014-05-024-11/+13
| | | | | | Let the callback know whether I/O completed on the message, and move the server-side "disconnect on I/O error" code from soup-message-io to soup-server.
* soup-message-queue: minor fixDan Winship2014-05-021-4/+4
| | | | | SoupMessageQueueItem's priority field is not private to soup-message-queue.c.
* soup-connection: don't disconnect the connection on disposeDirkjan Ochtman2014-05-021-5/+0
| | | | | | | In the normal case, SoupSession will do it itself, and in other cases it might not be wanted. https://bugzilla.gnome.org/show_bug.cgi?id=721343
* soup-session, soup-connection: update handling of "ssl" flagDan Winship2014-05-023-18/+16
| | | | | | | Store all SoupSessionHosts with a URI using either "http" or "https" as the scheme. Then we don't need to explicitly tell SoupConnection whether the connection is SSL or not, since it can figure it out from the URI.
* Bump version to 2.47, add 2.48 version macrosDan Winship2014-05-012-1/+16
|
* Fix a memory leak in soup_cookie_jar_delete_cookie()Joseph Artsimovich2014-04-151-5/+2
| | | | | A memory leak would happen when asked to delete a matching cookie from a cookie jar that doesn't contain any matching cookies.
* doap: update URLsPiotr Drąg2014-04-062-8/+8
|
* 2.46.02.46.0Dan Winship2014-03-242-2/+6
|
* 2.45.922.45.92Dan Winship2014-03-172-1/+23
|
* soup-socket: fixed leak in new_socket_client()Slava Monich2014-03-161-2/+7
|
* soup-session: force port for proxy URLSlava Monich2014-03-161-1/+1
| | | | | | Otherwise libsoup is unable to connect through proxies that use default port (say, 80 for http). Proxy resolver resolves port-less proxy URLs into network address with zero port, which is then passed to connect()
* tests: use g_test_bug() to annotate test casesDan Winship2014-03-1525-293/+485
|
* tests: remove debug_printf()s that are redundant with test namesDan Winship2014-03-1522-246/+13
|
* tests: split up some test programs into more testsDan Winship2014-03-1510-624/+831
|
* auth-test: remove some erroneous SKIP_IF_NO_APACHEsDan Winship2014-03-151-6/+0
|
* redirect-test: remove a flaky testDan Winship2014-03-101-103/+0
| | | | | | | | Bug 651446 involved a race condition when queuing a message while another message was being redirected on the same host. The fix included a regression test, but later rewrites of SoupSession made the race condition no longer possible, and made the test itself slightly flaky. So just remove it.
* xmlrpc-test: use g_test_skip()Dan Winship2014-03-091-4/+1
| | | | | | There was a comment about not using g_test_skip() here because of an old glib bug, but we're using g_test_skip() in lots of other places now, so...
* test-utils: change http_debug command-line flagDan Winship2014-03-091-1/+1
| | | | g_test_init() intercepts "-h" for "help", so make http-debug be "-H"
* configure.ac: belatedly bump glib requirement to 2.38Dan Winship2014-03-091-2/+2
| | | | | The tests use the TAP driver now, which only exists in glib 2.38 and later.
* Move to the platform categoryAlexandre Franke2014-02-231-0/+1
|
* 2.45.902.45.90Dan Winship2014-02-172-1/+32
|
* tests: skip individual tests rather than whole test programsDan Winship2014-02-1715-166/+144
| | | | | | | | | | | Use g_skip_test() to skip individual tests rather than just returning status 77 from the test program as a whole. In several cases, we still end up skipping more than necessary, due to test cases that need to be split up more. Remove the "MISSING_REGRESSION_TESTS_PACKAGES" functionality, since the skipped tests are now pointed out explicitly.
* Merge branch 'content-sniffing-update'Dan Winship2014-02-1715-159/+605
|\ | | | | | | | | | | | | | | Update SoupContentSniffer (and sniffing-test) to match the current version of the MIME sniffing spec. https://bugzilla.gnome.org/show_bug.cgi?id=648849 https://bugzilla.gnome.org/show_bug.cgi?id=715126
| * sniffing: Add audio/video sniffingGustavo Noronha Silva2014-02-178-0/+135
| |
| * sniffing: Bring image sniffing up-to-date with the MIMESNIFF specGustavo Noronha Silva2014-02-176-99/+127
| |
| * sniffing: Bring feed vs HTML up-to-date with the MIMESNIFF specGustavo Noronha Silva2014-02-174-43/+120
| | | | | | | | | | | | | | * decide on that before doing the image sniffing to match the spec * use const char* and g_str_has_prefix for comparisons to make it more legible * deal with rdf:RDF tags
| * sniffing: Add comment to the XML types bitGustavo Noronha Silva2014-02-171-0/+1
| |
| * sniffing: test that it allows leading whitespace in doctype headersAlberto Garcia2014-02-173-0/+16
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=715126
| * sniffing: Adjust the general unknown MIME type algorithmGustavo Noronha Silva2014-02-172-55/+187
| | | | | | | | | | | | This change adjusts the pattern matching table to the current form of the MIMESNIFF spec, adding a check for a tag-terminating byte and using the formally defined sniff-scriptable flag.
| * sniffing: Implement handling of the X-Content-Type-Options headerGustavo Noronha Silva2014-02-172-1/+24
| |
| * sniffing: Implement the check-apache-bug flagGustavo Noronha Silva2014-02-174-10/+40
| | | | | | | | | | | | Run the text or binary algorithm when some specific text/plain Content-Types are provided, since older versions of apache would send that type for binary files. http://mimesniff.spec.whatwg.org/#dfnReturnLink-0