summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* session: make soup_session_pause/unpause_message privatecarlosgc/authenticateCarlos Garcia Campos2020-10-273-10/+5
| | | | | They are only used internally by SoupAuthManager and they shouldn't be needed by apps anymore.
* tests: stop using soup_session_pause/unpause_message in testsCarlos Garcia Campos2020-10-275-466/+14
| | | | Remove the tests checking old api that has already been removed.
* auth: Add port property to SoupAuthCarlos Garcia Campos2020-10-274-0/+62
| | | | | The host name is not enough to identify the domain being authenticated, we need the port too.
* auth: set the proxy host on SoupAuth instead of the requested oneCarlos Garcia Campos2020-10-276-30/+32
| | | | | | In case of proxy auth, the host being authenticated is the proxy one. Fixes #105
* Move authenticate signal from SoupSession to SoupMessageCarlos Garcia Campos2020-10-2714-263/+479
| | | | | | | | | In case of tunneling the authenticate signal is emitted in the original message, since the tunneling message is an internal implementation detail. The authenticate signal is now true handled, and SoupAuthManager automatically pauses and unpauses the message when handled asynchronously. soup_auth_cancel() has been added to complete an async authentication when no credentials are provided.
* message: move private API to the private headerCarlos Garcia Campos2020-10-262-23/+14
|
* Remove SoupRequest APICarlos Garcia Campos2020-10-2623-2235/+11
|
* tests: stop using SoupRequest API in testsCarlos Garcia Campos2020-10-2611-871/+79
|
* uri: add soup_uri_decode_data_uri to decode data URIsCarlos Garcia Campos2020-10-264-24/+106
|
* session: Add new simple API to retrieve a URICarlos Garcia Campos2020-10-264-16/+774
| | | | | | It adds soup_session_get() and soup_session_get_bytes() and the async alternatives to easily retrieve the contents of a URI. It supports the same URIs as SoupRequest API that will be removed.
* session: add io priority parameter to soup_session_send_async()Carlos Garcia Campos2020-10-2613-29/+57
| | | | And use it for the all the IO async operations where possible.
* session: remove SoupSession::request-startedCarlos Garcia Campos2020-10-251-23/+0
|
* tests: stop using SoupSession::request-started in testsCarlos Garcia Campos2020-10-251-31/+60
| | | | Use SoupMessage::starting instead.
* Remove session parameter from SoupSessionFeature::request-queued/unqueuedCarlos Garcia Campos2020-10-2510-35/+17
| | | | | It's unused and features are already attached to a session with SoupSessionFeature::attach.
* Stop connecting to SoupSession::request-queued from SoupSessionFeatureCarlos Garcia Campos2020-10-259-107/+69
| | | | | | SoupSession now notifies all the features about message being queued and unqueued. This way features implementing attach don't need to chain up, since there's no longer a default implementation for attach and detach.
* Update POTFILES.inPiotr Drąg2020-10-241-3/+3
|
* session: remove SoupSession::connection-createdCarlos Garcia Campos2020-10-231-31/+0
|
* tests: stop using SoupSession::connection-created in testsCarlos Garcia Campos2020-10-232-41/+47
|
* session: remove SoupSession::tunnelingCarlos Garcia Campos2020-10-231-28/+0
|
* session: remove soup_session_prefetch_dnsCarlos Garcia Campos2020-10-232-44/+0
|
* Consistently use G_DEFINE_QUARKPatrick Griffis2020-10-216-26/+9
| | | | As well as rename soup_websocket_error_get_quark() to follow convention.
* docs: Remove duplicate soup-server entryPatrick Griffis2020-10-211-1/+0
|
* Split SoupMessage into client and server partscarlosgc/split-ioCarlos Garcia Campos2020-10-1963-2372/+3121
| | | | Add SoupServerMessage and move there all the server only functionality.
* io: split soup-message-io into client and serverCarlos Garcia Campos2020-10-097-877/+1076
| | | | | | | | So now soup-message-io.c is only client IO (and a few common functions) and soup-server-io.c is only server IO. soup-message-client-io.c has been moved to soup-message-io.c and soup-message-server-io.c to soup-server-io.c. There's still some duplicated code that will be removed once SoupServer switches to use streams.
* server: move SoupServer code to server directoryCarlos Garcia Campos2020-10-0914-14/+17
|
* build: Remove private lib used for docsPatrick Griffis2020-10-082-20/+1
|
* server-test: Fix crash on cleanupPatrick Griffis2020-10-081-1/+0
| | | | index doesn't transfer ownership and shouldn't be unrefed
* server-test: Handle do_fd_import_test() being flakyPatrick Griffis2020-10-081-4/+2
|
* message: remove soup_message_set_requestcarlosgc/request-body-streamCarlos Garcia Campos2020-10-083-43/+0
|
* forms: Use GBytes instead of SoupMessageBodyCarlos Garcia Campos2020-10-087-45/+46
| | | | Use the body stream always for requests in client side.
* Stop using soup_message_set_requestCarlos Garcia Campos2020-10-085-27/+42
| | | | | Use soup_message_set_request_body() or soup_message_set_request_body_from_bytes() instead.
* message: add support for stream based request bodyCarlos Garcia Campos2020-10-089-431/+424
| | | | | | Add soup_message_set_request_body() that takes a GInputStream and soup_message_set_request_body_from_bytes() for convenience that creates a GMemoryInputStream for the given bytes.
* session: make soup_session_requeue_message privateCarlos Garcia Campos2020-10-053-4/+2
|
* session: remove soup_session_get_queueCarlos Garcia Campos2020-10-053-25/+22
| | | | | | It's only used by the auth manger to get the message proxy uri. Add soup_session_get_message_proxy_uri() instead that already returns the proxy uri to simplify it.
* session: make soup_session_steal_connection staticCarlos Garcia Campos2020-10-053-190/+2
| | | | | And remove the stealing tests since it's internal api already covered by websockets tests.
* session: remove new_api parameters from soup_session_append_queue_itemcarlosgc/no-new-apiCarlos Garcia Campos2020-10-013-49/+22
| | | | And SoupMessageQueueItem, since it's now always TRUE.
* session: stop using the old API way to queue messagesCarlos Garcia Campos2020-10-013-21/+31
| | | | Make soup_message_io_run public and use it for tunneling and websockets.
* session: use gio async style for soup_message_io_run_until_readCarlos Garcia Campos2020-10-015-96/+152
| | | | | | | | Make soup_message_io_run_until_read the sync one and add soup_message_io_run_until_read_async and soup_message_io_run_until_read_finish. The async version handles would block error and all other error handling has been moved to soup-message-io too, since it's shared with io_run.
* Update Greek translationEfstathios Iosifidis2020-09-301-39/+62
| | | | (cherry picked from commit 50b60ce5b818ec4677fc1277c5c35b724a4aa0f7)
* session: remove soup_session_queue_message and soup_session_send_messagecarlosgc/remove-old-apiCarlos Garcia Campos2020-09-3014-432/+80
| | | | | There are a few tests that are now skipped because they still use the old api and I'm not sure yet if they will be removed or reworked.
* tests: stop using soup_session_send_message in testsCarlos Garcia Campos2020-09-3020-123/+220
| | | | | Except for a few tests that seem to be testing the old API that we will remove once the old api is gone.
* tests: stop using soup_session_queue_message in testsCarlos Garcia Campos2020-09-3014-129/+279
| | | | | Except for a few tests that seem to be testing the old API that we will remove once the old api is gone.
* session: set message status in case of TLS errorsCarlos Garcia Campos2020-09-301-2/+13
| | | | We are not doing it when using the new api
* Fix the buildCarlos Garcia Campos2020-09-282-2/+3
|
* Update POTFILES.inPiotr Drąg2020-09-261-3/+5
|
* Update British English translationStephan Woidowski2020-09-231-26/+28
| | | | (cherry picked from commit 0b094bff2f571ea03304db2ada5e76fbed57c0fc)
* Update Chinese (Taiwan) translationCheng-Chia Tseng2020-09-221-16/+27
| | | | (cherry picked from commit 86936341ee57f3bf5604cf85920be45d46be07f6)
* docs: More doc cleanups and organizingPatrick Griffis2020-09-2011-38/+53
|
* docs: Add section docs for SoupHSTSPolicyPatrick Griffis2020-09-201-0/+10
|
* docs: More doc fixesPatrick Griffis2020-09-205-29/+55
|