diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2021-02-11 17:02:58 +0100 |
---|---|---|
committer | Carlos Garcia Campos <cgarcia@igalia.com> | 2021-02-11 17:04:14 +0100 |
commit | 12d51c260db8d0332ec07a2fdb84f077f3c64257 (patch) | |
tree | cd564edb99ee0c95bb9e7b4e2214507628da7efb | |
parent | 111ae4ebe7cc2e389573cff5b9ac76509d6cbac0 (diff) | |
download | libsoup-12d51c260db8d0332ec07a2fdb84f077f3c64257.tar.gz |
docs: remove since tags from documentation
37 files changed, 2 insertions, 282 deletions
diff --git a/libsoup/auth/soup-auth-basic.c b/libsoup/auth/soup-auth-basic.c index e9aa346b..4ba6c04b 100644 --- a/libsoup/auth/soup-auth-basic.c +++ b/libsoup/auth/soup-auth-basic.c @@ -30,7 +30,6 @@ typedef struct { * support for it, call soup_session_remove_feature_by_type(), * passing %SOUP_TYPE_AUTH_BASIC. * - * Since: 2.34 */ G_DEFINE_TYPE_WITH_PRIVATE (SoupAuthBasic, soup_auth_basic, SOUP_TYPE_AUTH) diff --git a/libsoup/auth/soup-auth-digest.c b/libsoup/auth/soup-auth-digest.c index 25c775d1..d0802053 100644 --- a/libsoup/auth/soup-auth-digest.c +++ b/libsoup/auth/soup-auth-digest.c @@ -52,7 +52,6 @@ static void recompute_hex_a1 (SoupAuthDigestPrivate *priv); * support for it, call soup_session_remove_feature_by_type(), * passing %SOUP_TYPE_AUTH_DIGEST. * - * Since: 2.34 */ G_DEFINE_TYPE_WITH_PRIVATE (SoupAuthDigest, soup_auth_digest, SOUP_TYPE_AUTH) diff --git a/libsoup/auth/soup-auth-manager.c b/libsoup/auth/soup-auth-manager.c index 22dd56b2..4561936c 100644 --- a/libsoup/auth/soup-auth-manager.c +++ b/libsoup/auth/soup-auth-manager.c @@ -34,7 +34,6 @@ * session with soup_session_remove_feature_by_type(), or disable it on * individual requests with soup_message_disable_feature(). * - * Since: 2.42 **/ /** @@ -55,7 +54,6 @@ * <literal><code>g_type_from_name ("SoupAuthManager")</code></literal> * to get its #GType in earlier releases.) * - * Since: 2.42 */ static void soup_auth_manager_session_feature_init (SoupSessionFeatureInterface *feature_interface, gpointer interface_data); @@ -834,7 +832,6 @@ soup_auth_manager_request_unqueued (SoupSessionFeature *manager, * Authorization header does not depend on any additional information * from the server. (Eg, Basic or NTLM, but not Digest.) * - * Since: 2.42 */ void soup_auth_manager_use_auth (SoupAuthManager *manager, @@ -854,7 +851,6 @@ soup_auth_manager_use_auth (SoupAuthManager *manager, * * Clear all credentials cached by @manager * - * Since: 2.58 */ void soup_auth_manager_clear_cached_credentials (SoupAuthManager *manager) diff --git a/libsoup/auth/soup-auth-negotiate.c b/libsoup/auth/soup-auth-negotiate.c index dea5141c..1cbe6bcd 100644 --- a/libsoup/auth/soup-auth-negotiate.c +++ b/libsoup/auth/soup-auth-negotiate.c @@ -31,7 +31,6 @@ * still be added to a #SoupSession, but libsoup will never attempt to * actually use this auth type. * - * Since: 2.54 */ gboolean soup_auth_negotiate_supported (void) @@ -87,7 +86,6 @@ typedef struct { * support; you can check soup_auth_negotiate_supported() to see if it * was. * - * Since: 2.54 */ G_DEFINE_TYPE_WITH_PRIVATE (SoupAuthNegotiate, soup_auth_negotiate, SOUP_TYPE_CONNECTION_AUTH) diff --git a/libsoup/auth/soup-auth-ntlm.c b/libsoup/auth/soup-auth-ntlm.c index 6efbc4a2..177894f9 100644 --- a/libsoup/auth/soup-auth-ntlm.c +++ b/libsoup/auth/soup-auth-ntlm.c @@ -105,7 +105,6 @@ static void sso_ntlm_close (SoupAuthNTLMPrivate *priv); * enable support for it, call soup_session_add_feature_by_type(), * passing %SOUP_TYPE_AUTH_NTLM. * - * Since: 2.34 */ G_DEFINE_TYPE_WITH_PRIVATE (SoupAuthNTLM, soup_auth_ntlm, SOUP_TYPE_CONNECTION_AUTH) diff --git a/libsoup/auth/soup-auth.c b/libsoup/auth/soup-auth.c index c4c87dc5..d48b908e 100644 --- a/libsoup/auth/soup-auth.c +++ b/libsoup/auth/soup-auth.c @@ -582,7 +582,6 @@ soup_auth_get_authorization (SoupAuth *auth, SoupMessage *msg) * * Return value: %TRUE if @auth is ready to make a request with. * - * Since: 2.42 **/ gboolean soup_auth_is_ready (SoupAuth *auth, @@ -612,7 +611,6 @@ soup_auth_is_ready (SoupAuth *auth, * * Return value: %TRUE if @auth is able to accept credentials. * - * Since: 2.54 **/ gboolean soup_auth_can_authenticate (SoupAuth *auth) diff --git a/libsoup/auth/soup-connection-auth.c b/libsoup/auth/soup-connection-auth.c index 7689b109..b3082316 100644 --- a/libsoup/auth/soup-connection-auth.c +++ b/libsoup/auth/soup-connection-auth.c @@ -86,7 +86,6 @@ soup_connection_auth_finalize (GObject *object) * * Return value: (transfer none): the connection state * - * Since: 2.58 **/ gpointer soup_connection_auth_get_connection_state_for_message (SoupConnectionAuth *auth, diff --git a/libsoup/cache/soup-cache.c b/libsoup/cache/soup-cache.c index 050f48a8..c5600eef 100644 --- a/libsoup/cache/soup-cache.c +++ b/libsoup/cache/soup-cache.c @@ -1039,7 +1039,6 @@ soup_cache_class_init (SoupCacheClass *cache_class) * The type of cache; this affects what kinds of responses will be * saved. * - * Since: 2.34 */ /** @@ -1054,7 +1053,6 @@ soup_cache_class_init (SoupCacheClass *cache_class) * * Returns: a new #SoupCache * - * Since: 2.34 */ SoupCache * soup_cache_new (const char *cache_dir, SoupCacheType cache_type) @@ -1076,7 +1074,6 @@ soup_cache_new (const char *cache_dir, SoupCacheType cache_type) * * Returns: whether or not the @cache has a valid response for @msg * - * Since: 2.34 */ SoupCacheResponse soup_cache_has_response (SoupCache *cache, SoupMessage *msg) @@ -1235,7 +1232,6 @@ soup_cache_has_response (SoupCache *cache, SoupMessage *msg) * * Returns: a #SoupCacheability value indicating whether the @msg can be cached or not. * - * Since: 2.34 */ SoupCacheability soup_cache_get_cacheability (SoupCache *cache, SoupMessage *msg) @@ -1266,7 +1262,6 @@ force_flush_timeout (gpointer data) * Contrast with soup_cache_dump(), which writes out the cache index * file. * - * Since: 2.34 */ void soup_cache_flush (SoupCache *cache) @@ -1346,7 +1341,6 @@ clear_cache_files (SoupCache *cache) * * Will remove all entries in the @cache plus all the cache files. * - * Since: 2.34 */ void soup_cache_clear (SoupCache *cache) @@ -1497,7 +1491,6 @@ pack_entry (gpointer data, * You must call this before exiting if you want your cache data to * persist between sessions. * - * Since: 2.34 */ void soup_cache_dump (SoupCache *cache) @@ -1560,7 +1553,6 @@ insert_cache_file (SoupCache *cache, const char *name, GHashTable *leaked_entrie * * Loads the contents of @cache's index into memory. * - * Since: 2.34 */ void soup_cache_load (SoupCache *cache) @@ -1660,7 +1652,6 @@ soup_cache_load (SoupCache *cache) * * Sets the maximum size of the cache. * - * Since: 2.34 */ void soup_cache_set_max_size (SoupCache *cache, @@ -1679,7 +1670,6 @@ soup_cache_set_max_size (SoupCache *cache, * * Return value: the maximum size of the cache, in bytes. * - * Since: 2.34 */ guint soup_cache_get_max_size (SoupCache *cache) diff --git a/libsoup/content-decoder/soup-content-decoder.c b/libsoup/content-decoder/soup-content-decoder.c index 05ecc90c..f5726b88 100644 --- a/libsoup/content-decoder/soup-content-decoder.c +++ b/libsoup/content-decoder/soup-content-decoder.c @@ -45,7 +45,6 @@ * Content-Encoding when sending a request body, or to pick specific * encoding types to support.) * - * Since: 2.30 **/ /** diff --git a/libsoup/content-sniffer/soup-content-sniffer.c b/libsoup/content-sniffer/soup-content-sniffer.c index cf5da7e1..b64d2a07 100644 --- a/libsoup/content-sniffer/soup-content-sniffer.c +++ b/libsoup/content-sniffer/soup-content-sniffer.c @@ -33,7 +33,6 @@ * content sniffing to a session with soup_session_add_feature() or * soup_session_add_feature_by_type(). * - * Since: 2.28 **/ /** @@ -794,7 +793,6 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, GBytes *buffer) * Return value: the sniffed Content-Type of @buffer; this will never be %NULL, * but may be "application/octet-stream". * - * Since: 2.28 */ char * soup_content_sniffer_sniff (SoupContentSniffer *sniffer, SoupMessage *msg, @@ -878,7 +876,6 @@ soup_content_sniffer_sniff (SoupContentSniffer *sniffer, SoupMessage *msg, * * Return value: the number of bytes to sniff * - * Since: 2.28 */ gsize soup_content_sniffer_get_buffer_size (SoupContentSniffer *sniffer) @@ -931,7 +928,6 @@ soup_content_sniffer_session_feature_init (SoupSessionFeatureInterface *feature_ * * Returns: a new #SoupContentSniffer * - * Since: 2.28 **/ SoupContentSniffer * soup_content_sniffer_new (void) diff --git a/libsoup/cookies/soup-cookie-jar-db.c b/libsoup/cookies/soup-cookie-jar-db.c index 88a01b36..ac7536a2 100644 --- a/libsoup/cookies/soup-cookie-jar-db.c +++ b/libsoup/cookies/soup-cookie-jar-db.c @@ -126,7 +126,6 @@ soup_cookie_jar_db_get_property (GObject *object, guint prop_id, * * Return value: the new #SoupCookieJar * - * Since: 2.42 **/ SoupCookieJar * soup_cookie_jar_db_new (const char *filename, gboolean read_only) diff --git a/libsoup/cookies/soup-cookie-jar-text.c b/libsoup/cookies/soup-cookie-jar-text.c index be39da95..9e1e899c 100644 --- a/libsoup/cookies/soup-cookie-jar-text.c +++ b/libsoup/cookies/soup-cookie-jar-text.c @@ -120,7 +120,6 @@ soup_cookie_jar_text_get_property (GObject *object, guint prop_id, * * Return value: the new #SoupCookieJar * - * Since: 2.26 **/ SoupCookieJar * soup_cookie_jar_text_new (const char *filename, gboolean read_only) diff --git a/libsoup/cookies/soup-cookie-jar.c b/libsoup/cookies/soup-cookie-jar.c index b27c779f..50339376 100644 --- a/libsoup/cookies/soup-cookie-jar.c +++ b/libsoup/cookies/soup-cookie-jar.c @@ -204,7 +204,6 @@ soup_cookie_jar_class_init (SoupCookieJarClass *jar_class) * * The policy the jar should follow to accept or reject cookies * - * Since: 2.30 */ g_object_class_install_property ( object_class, PROP_ACCEPT_POLICY, @@ -225,7 +224,6 @@ soup_cookie_jar_class_init (SoupCookieJarClass *jar_class) * * Returns: a new #SoupCookieJar * - * Since: 2.24 **/ SoupCookieJar * soup_cookie_jar_new (void) @@ -394,7 +392,6 @@ get_cookies (SoupCookieJar *jar, * Return value: (nullable): the cookies, in string form, or %NULL if * there are no cookies for @uri. * - * Since: 2.24 **/ char * soup_cookie_jar_get_cookies (SoupCookieJar *jar, GUri *uri, @@ -441,7 +438,6 @@ soup_cookie_jar_get_cookies (SoupCookieJar *jar, GUri *uri, * Return value: (transfer full) (element-type Soup.Cookie): a #GSList * with the cookies in the @jar that would be sent with a request to @uri. * - * Since: 2.40 **/ GSList * soup_cookie_jar_get_cookie_list (SoupCookieJar *jar, GUri *uri, gboolean for_http) @@ -472,7 +468,6 @@ soup_cookie_jar_get_cookie_list (SoupCookieJar *jar, GUri *uri, gboolean for_htt * Return value: (transfer full) (element-type Soup.Cookie): a #GSList * with the cookies in the @jar that would be sent with a request to @uri. * - * Since: 2.70 */ GSList * soup_cookie_jar_get_cookie_list_with_same_site_info (SoupCookieJar *jar, @@ -567,7 +562,6 @@ incoming_cookie_is_third_party (SoupCookieJar *jar, * * @cookie will be 'stolen' by the jar, so don't free it afterwards. * - * Since: 2.68 **/ void soup_cookie_jar_add_cookie_full (SoupCookieJar *jar, SoupCookie *cookie, GUri *uri, GUri *first_party) @@ -664,7 +658,6 @@ soup_cookie_jar_add_cookie_full (SoupCookieJar *jar, SoupCookie *cookie, GUri *u * * @cookie will be 'stolen' by the jar, so don't free it afterwards. * - * Since: 2.26 **/ void soup_cookie_jar_add_cookie (SoupCookieJar *jar, SoupCookie *cookie) @@ -690,7 +683,6 @@ soup_cookie_jar_add_cookie (SoupCookieJar *jar, SoupCookie *cookie) * For secure cookies to work properly you may want to use * soup_cookie_jar_add_cookie_full(). * - * Since: 2.40 **/ void soup_cookie_jar_add_cookie_with_first_party (SoupCookieJar *jar, GUri *first_party, SoupCookie *cookie) @@ -716,7 +708,6 @@ soup_cookie_jar_add_cookie_with_first_party (SoupCookieJar *jar, GUri *first_par * will have no way of knowing if the cookie is being set by a third * party or not. * - * Since: 2.24 **/ void soup_cookie_jar_set_cookie (SoupCookieJar *jar, GUri *uri, @@ -758,7 +749,6 @@ soup_cookie_jar_set_cookie (SoupCookieJar *jar, GUri *uri, * will be used to reject cookies coming from third party resources in * case such a security policy is set in the @jar. * - * Since: 2.30 **/ void soup_cookie_jar_set_cookie_with_first_party (SoupCookieJar *jar, @@ -868,7 +858,6 @@ soup_cookie_jar_session_feature_init (SoupSessionFeatureInterface *feature_inter * Return value: (transfer full) (element-type Soup.Cookie): a #GSList * with all the cookies in the @jar. * - * Since: 2.26 **/ GSList * soup_cookie_jar_all_cookies (SoupCookieJar *jar) @@ -900,7 +889,6 @@ soup_cookie_jar_all_cookies (SoupCookieJar *jar) * * Deletes @cookie from @jar, emitting the 'changed' signal. * - * Since: 2.26 **/ void soup_cookie_jar_delete_cookie (SoupCookieJar *jar, @@ -959,12 +947,11 @@ soup_cookie_jar_delete_cookie (SoupCookieJar *jar, * application must call soup_message_set_first_party() on each outgoing * #SoupMessage, setting the #GUri of the main document. If no first * party is set in a message when this policy is in effect, cookies will - * be assumed to be third party by default. Since 2.72. + * be assumed to be third party by default. * * The policy for accepting or rejecting cookies returned in * responses. * - * Since: 2.30 */ /** @@ -975,7 +962,6 @@ soup_cookie_jar_delete_cookie (SoupCookieJar *jar, * * Returns: the #SoupCookieJarAcceptPolicy set in the @jar * - * Since: 2.30 **/ SoupCookieJarAcceptPolicy soup_cookie_jar_get_accept_policy (SoupCookieJar *jar) @@ -995,7 +981,6 @@ soup_cookie_jar_get_accept_policy (SoupCookieJar *jar) * * Sets @policy as the cookie acceptance policy for @jar. * - * Since: 2.30 **/ void soup_cookie_jar_set_accept_policy (SoupCookieJar *jar, @@ -1021,7 +1006,6 @@ soup_cookie_jar_set_accept_policy (SoupCookieJar *jar, * * Returns: %TRUE if @jar storage is persistent or %FALSE otherwise. * - * Since: 2.40 **/ gboolean soup_cookie_jar_is_persistent (SoupCookieJar *jar) diff --git a/libsoup/cookies/soup-cookie.c b/libsoup/cookies/soup-cookie.c index 5d3e9444..a300738b 100644 --- a/libsoup/cookies/soup-cookie.c +++ b/libsoup/cookies/soup-cookie.c @@ -54,7 +54,6 @@ * code (eg, javascript), so as to minimize the danger posed by * cross-site scripting attacks. * - * Since: 2.24 **/ struct _SoupCookie { @@ -77,7 +76,6 @@ G_DEFINE_BOXED_TYPE (SoupCookie, soup_cookie, soup_cookie_copy, soup_cookie_free * * Return value: a copy of @cookie * - * Since: 2.24 **/ SoupCookie * soup_cookie_copy (SoupCookie *cookie) @@ -108,7 +106,6 @@ soup_cookie_copy (SoupCookie *cookie) * * Return value: %TRUE if the domains match, %FALSE otherwise * - * Since: 2.30 **/ gboolean soup_cookie_domain_matches (SoupCookie *cookie, const char *host) @@ -373,7 +370,6 @@ cookie_new_internal (const char *name, const char *value, * * Return value: a new #SoupCookie. * - * Since: 2.24 **/ SoupCookie * soup_cookie_new (const char *name, const char *value, @@ -414,7 +410,6 @@ soup_cookie_new (const char *name, const char *value, * not be parsed, or contained an illegal "domain" attribute for a * cookie originating from @origin. * - * Since: 2.24 **/ SoupCookie * soup_cookie_parse (const char *cookie, GUri *origin) @@ -430,7 +425,6 @@ soup_cookie_parse (const char *cookie, GUri *origin) * * Return value: @cookie's name * - * Since: 2.32 **/ const char * soup_cookie_get_name (SoupCookie *cookie) @@ -445,7 +439,6 @@ soup_cookie_get_name (SoupCookie *cookie) * * Sets @cookie's name to @name * - * Since: 2.24 **/ void soup_cookie_set_name (SoupCookie *cookie, const char *name) @@ -462,7 +455,6 @@ soup_cookie_set_name (SoupCookie *cookie, const char *name) * * Return value: @cookie's value * - * Since: 2.32 **/ const char * soup_cookie_get_value (SoupCookie *cookie) @@ -477,7 +469,6 @@ soup_cookie_get_value (SoupCookie *cookie) * * Sets @cookie's value to @value * - * Since: 2.24 **/ void soup_cookie_set_value (SoupCookie *cookie, const char *value) @@ -494,7 +485,6 @@ soup_cookie_set_value (SoupCookie *cookie, const char *value) * * Return value: @cookie's domain * - * Since: 2.32 **/ const char * soup_cookie_get_domain (SoupCookie *cookie) @@ -509,7 +499,6 @@ soup_cookie_get_domain (SoupCookie *cookie) * * Sets @cookie's domain to @domain * - * Since: 2.24 **/ void soup_cookie_set_domain (SoupCookie *cookie, const char *domain) @@ -526,7 +515,6 @@ soup_cookie_set_domain (SoupCookie *cookie, const char *domain) * * Return value: @cookie's path * - * Since: 2.32 **/ const char * soup_cookie_get_path (SoupCookie *cookie) @@ -541,7 +529,6 @@ soup_cookie_get_path (SoupCookie *cookie) * * Sets @cookie's path to @path * - * Since: 2.24 **/ void soup_cookie_set_path (SoupCookie *cookie, const char *path) @@ -566,7 +553,6 @@ soup_cookie_set_path (SoupCookie *cookie, const char *path) * * (This sets the same property as soup_cookie_set_expires().) * - * Since: 2.24 **/ void soup_cookie_set_max_age (SoupCookie *cookie, int max_age) @@ -594,7 +580,6 @@ soup_cookie_set_max_age (SoupCookie *cookie, int max_age) * A constant corresponding to 1 hour, for use with soup_cookie_new() * and soup_cookie_set_max_age(). * - * Since: 2.24 **/ /** * SOUP_COOKIE_MAX_AGE_ONE_DAY: @@ -602,7 +587,6 @@ soup_cookie_set_max_age (SoupCookie *cookie, int max_age) * A constant corresponding to 1 day, for use with soup_cookie_new() * and soup_cookie_set_max_age(). * - * Since: 2.24 **/ /** * SOUP_COOKIE_MAX_AGE_ONE_WEEK: @@ -610,7 +594,6 @@ soup_cookie_set_max_age (SoupCookie *cookie, int max_age) * A constant corresponding to 1 week, for use with soup_cookie_new() * and soup_cookie_set_max_age(). * - * Since: 2.24 **/ /** * SOUP_COOKIE_MAX_AGE_ONE_YEAR: @@ -618,7 +601,6 @@ soup_cookie_set_max_age (SoupCookie *cookie, int max_age) * A constant corresponding to 1 year, for use with soup_cookie_new() * and soup_cookie_set_max_age(). * - * Since: 2.24 **/ /** @@ -631,7 +613,6 @@ soup_cookie_set_max_age (SoupCookie *cookie, int max_age) * time, which is owned by @cookie and should not be modified or * freed. * - * Since: 2.32 **/ GDateTime * soup_cookie_get_expires (SoupCookie *cookie) @@ -650,7 +631,6 @@ soup_cookie_get_expires (SoupCookie *cookie) * * (This sets the same property as soup_cookie_set_max_age().) * - * Since: 2.24 **/ void soup_cookie_set_expires (SoupCookie *cookie, GDateTime *expires) @@ -672,7 +652,6 @@ soup_cookie_set_expires (SoupCookie *cookie, GDateTime *expires) * * Return value: @cookie's secure attribute * - * Since: 2.32 **/ gboolean soup_cookie_get_secure (SoupCookie *cookie) @@ -689,7 +668,6 @@ soup_cookie_get_secure (SoupCookie *cookie) * only be transmitted from the client to the server over secure * (https) connections. * - * Since: 2.24 **/ void soup_cookie_set_secure (SoupCookie *cookie, gboolean secure) @@ -705,7 +683,6 @@ soup_cookie_set_secure (SoupCookie *cookie, gboolean secure) * * Return value: @cookie's HttpOnly attribute * - * Since: 2.32 **/ gboolean soup_cookie_get_http_only (SoupCookie *cookie) @@ -722,7 +699,6 @@ soup_cookie_get_http_only (SoupCookie *cookie) * will be marked as "http only", meaning it should not be exposed to * web page scripts or other untrusted code. * - * Since: 2.24 **/ void soup_cookie_set_http_only (SoupCookie *cookie, gboolean http_only) @@ -797,7 +773,6 @@ G_DEFINE_QUARK (soup-same-site-policy, soup_same_site_policy) * When used in conjunction with soup_cookie_jar_get_cookie_list_with_same_site_info() this * sets the policy of when this cookie should be exposed. * - * Since: 2.70 **/ void soup_cookie_set_same_site_policy (SoupCookie *cookie, @@ -822,7 +797,6 @@ soup_cookie_set_same_site_policy (SoupCookie *cookie, * * Returns: a #SoupSameSitePolicy * - * Since: 2.70 **/ SoupSameSitePolicy soup_cookie_get_same_site_policy (SoupCookie *cookie) @@ -839,7 +813,6 @@ soup_cookie_get_same_site_policy (SoupCookie *cookie) * * Return value: the header * - * Since: 2.24 **/ char * soup_cookie_to_set_cookie_header (SoupCookie *cookie) @@ -859,7 +832,6 @@ soup_cookie_to_set_cookie_header (SoupCookie *cookie) * * Return value: the header * - * Since: 2.24 **/ char * soup_cookie_to_cookie_header (SoupCookie *cookie) @@ -876,7 +848,6 @@ soup_cookie_to_cookie_header (SoupCookie *cookie) * * Frees @cookie * - * Since: 2.24 **/ void soup_cookie_free (SoupCookie *cookie) @@ -905,7 +876,6 @@ soup_cookie_free (SoupCookie *cookie) * of #SoupCookie<!-- -->s, which can be freed with * soup_cookies_free(). * - * Since: 2.24 **/ GSList * soup_cookies_from_response (SoupMessage *msg) @@ -949,7 +919,6 @@ soup_cookies_from_response (SoupMessage *msg) * of #SoupCookie<!-- -->s, which can be freed with * soup_cookies_free(). * - * Since: 2.24 **/ GSList * soup_cookies_from_request (SoupMessage *msg) @@ -988,7 +957,6 @@ soup_cookies_from_request (SoupMessage *msg) * @cookies. (This is in addition to any other "Set-Cookie" headers * @msg may already have.) * - * Since: 2.24 **/ void soup_cookies_to_response (GSList *cookies, SoupMessage *msg) @@ -1017,7 +985,6 @@ soup_cookies_to_response (GSList *cookies, SoupMessage *msg) * careful that you do not append the same cookies twice, eg, when * requeuing a message.) * - * Since: 2.24 **/ void soup_cookies_to_request (GSList *cookies, SoupMessage *msg) @@ -1041,7 +1008,6 @@ soup_cookies_to_request (GSList *cookies, SoupMessage *msg) * * Frees @cookies. * - * Since: 2.24 **/ void soup_cookies_free (GSList *cookies) @@ -1058,7 +1024,6 @@ soup_cookies_free (GSList *cookies) * * Return value: the serialization of @cookies * - * Since: 2.24 **/ char * soup_cookies_to_cookie_header (GSList *cookies) @@ -1090,7 +1055,6 @@ soup_cookies_to_cookie_header (GSList *cookies) * Return value: %TRUE if @cookie should be sent to @uri, %FALSE if * not * - * Since: 2.24 **/ gboolean soup_cookie_applies_to_uri (SoupCookie *cookie, GUri *uri) @@ -1134,7 +1098,6 @@ soup_cookie_applies_to_uri (SoupCookie *cookie, GUri *uri) * * Return value: whether the cookies are equal. * - * Since: 2.24 */ gboolean soup_cookie_equal (SoupCookie *cookie1, SoupCookie *cookie2) diff --git a/libsoup/cookies/soup-cookie.h b/libsoup/cookies/soup-cookie.h index c65c9814..b5610955 100644 --- a/libsoup/cookies/soup-cookie.h +++ b/libsoup/cookies/soup-cookie.h @@ -16,8 +16,6 @@ G_BEGIN_DECLS * @SOUP_SAME_SITE_POLICY_STRICT: The cookie is only exposed for same-site requests * * Represents the same-site policies of a cookie. - * - * Since: 2.70 */ typedef enum { SOUP_SAME_SITE_POLICY_NONE, diff --git a/libsoup/hsts/soup-hsts-enforcer-db.c b/libsoup/hsts/soup-hsts-enforcer-db.c index e854d286..572a8862 100644 --- a/libsoup/hsts/soup-hsts-enforcer-db.c +++ b/libsoup/hsts/soup-hsts-enforcer-db.c @@ -118,7 +118,6 @@ soup_hsts_enforcer_db_get_property (GObject *object, guint prop_id, * * Return value: the new #SoupHSTSEnforcer * - * Since: 2.68 **/ SoupHSTSEnforcer * soup_hsts_enforcer_db_new (const char *filename) diff --git a/libsoup/hsts/soup-hsts-enforcer.c b/libsoup/hsts/soup-hsts-enforcer.c index 676455f4..18327958 100644 --- a/libsoup/hsts/soup-hsts-enforcer.c +++ b/libsoup/hsts/soup-hsts-enforcer.c @@ -192,7 +192,6 @@ soup_hsts_enforcer_class_init (SoupHSTSEnforcerClass *hsts_enforcer_class) * * Returns: a new #SoupHSTSEnforcer * - * Since: 2.68 **/ SoupHSTSEnforcer * soup_hsts_enforcer_new (void) @@ -326,7 +325,6 @@ soup_hsts_enforcer_insert_policy (SoupHSTSEnforcer *hsts_enforcer, * will not expire and will be enforced during the lifetime of * @hsts_enforcer's #SoupSession. * - * Since: 2.68 **/ void soup_hsts_enforcer_set_policy (SoupHSTSEnforcer *hsts_enforcer, @@ -371,7 +369,6 @@ soup_hsts_enforcer_set_policy (SoupHSTSEnforcer *hsts_enforcer, * that is permanent to the lifetime of @hsts_enforcer's #SoupSession * and doesn't expire. * - * Since: 2.68 **/ void soup_hsts_enforcer_set_session_policy (SoupHSTSEnforcer *hsts_enforcer, @@ -585,7 +582,6 @@ soup_hsts_enforcer_session_feature_init (SoupSessionFeatureInterface *feature_in * * Returns: %TRUE if @hsts_enforcer storage is persistent or %FALSE otherwise. * - * Since: 2.68 **/ gboolean soup_hsts_enforcer_is_persistent (SoupHSTSEnforcer *hsts_enforcer) @@ -605,7 +601,6 @@ soup_hsts_enforcer_is_persistent (SoupHSTSEnforcer *hsts_enforcer) * Returns: %TRUE if access to @domain should happen over HTTPS, false * otherwise. * - * Since: 2.68 **/ gboolean soup_hsts_enforcer_has_valid_policy (SoupHSTSEnforcer *hsts_enforcer, @@ -646,7 +641,6 @@ add_domain_to_list (gpointer key, * * Gets a list of domains for which there are policies in @enforcer. * - * Since: 2.68 * * Returns: (element-type utf8) (transfer full): a newly allocated * list of domains. Use g_list_free_full() and g_free() to free the @@ -688,7 +682,6 @@ add_policy_to_list (gpointer key, * allocated list of policies. Use g_list_free_full() and * soup_hsts_policy_free() to free the list. * - * Since: 2.68 * **/ GList* diff --git a/libsoup/hsts/soup-hsts-policy.c b/libsoup/hsts/soup-hsts-policy.c index e78d7fda..709a14c3 100644 --- a/libsoup/hsts/soup-hsts-policy.c +++ b/libsoup/hsts/soup-hsts-policy.c @@ -25,7 +25,6 @@ * * Policies to be used with #SoupHSTSEnforcer. * - * Since: 2.68 */ /** @@ -49,7 +48,6 @@ * If @include_subdomains is %TRUE, the Strict Transport Security policy * must also be enforced on subdomains of @domain. * - * Since: 2.68 **/ struct _SoupHSTSPolicy { @@ -69,7 +67,6 @@ G_DEFINE_BOXED_TYPE (SoupHSTSPolicy, soup_hsts_policy, soup_hsts_policy_copy, so * * Returns: (transfer full): a copy of @policy * - * Since: 2.68 **/ SoupHSTSPolicy * soup_hsts_policy_copy (SoupHSTSPolicy *policy) @@ -94,7 +91,6 @@ soup_hsts_policy_copy (SoupHSTSPolicy *policy) * * Returns: whether the policies are equal. * - * Since: 2.68 */ gboolean soup_hsts_policy_equal (SoupHSTSPolicy *policy1, SoupHSTSPolicy *policy2) @@ -153,7 +149,6 @@ is_hostname_valid (const char *hostname) * * Returns: a new #SoupHSTSPolicy. * - * Since: 2.68 **/ SoupHSTSPolicy * soup_hsts_policy_new (const char *domain, @@ -188,7 +183,6 @@ soup_hsts_policy_new (const char *domain, * * Returns: a new #SoupHSTSPolicy. * - * Since: 2.68 **/ SoupHSTSPolicy * soup_hsts_policy_new_full (const char *domain, @@ -239,7 +233,6 @@ soup_hsts_policy_new_full (const char *domain, * * Returns: a new #SoupHSTSPolicy. * - * Since: 2.68 **/ SoupHSTSPolicy * soup_hsts_policy_new_session_policy (const char *domain, @@ -262,7 +255,6 @@ soup_hsts_policy_new_session_policy (const char *domain, * Returns: (nullable): a new #SoupHSTSPolicy, or %NULL if no valid * "Strict-Transport-Security" response header was found. * - * Since: 2.68 **/ SoupHSTSPolicy * soup_hsts_policy_new_from_response (SoupMessage *msg) @@ -324,7 +316,6 @@ soup_hsts_policy_new_from_response (SoupMessage *msg) * * Returns: (transfer none): @policy's domain. * - * Since: 2.68 **/ const char * soup_hsts_policy_get_domain (SoupHSTSPolicy *policy) @@ -343,7 +334,6 @@ soup_hsts_policy_get_domain (SoupHSTSPolicy *policy) * * Returns: %TRUE if @policy is expired, %FALSE otherwise. * - * Since: 2.68 **/ gboolean soup_hsts_policy_is_expired (SoupHSTSPolicy *policy) @@ -361,7 +351,6 @@ soup_hsts_policy_is_expired (SoupHSTSPolicy *policy) * * Returns: %TRUE if @policy includes subdomains, %FALSE otherwise. * - * Since: 2.68 **/ gboolean soup_hsts_policy_includes_subdomains (SoupHSTSPolicy *policy) @@ -380,7 +369,6 @@ soup_hsts_policy_includes_subdomains (SoupHSTSPolicy *policy) * * Returns: %TRUE if @policy is permanent, %FALSE otherwise * - * Since: 2.68 **/ gboolean soup_hsts_policy_is_session_policy (SoupHSTSPolicy *policy) @@ -428,7 +416,6 @@ soup_hsts_policy_get_max_age (SoupHSTSPolicy *policy) * * Frees @policy. * - * Since: 2.68 **/ void soup_hsts_policy_free (SoupHSTSPolicy *policy) diff --git a/libsoup/server/soup-message-body.c b/libsoup/server/soup-message-body.c index adf706ac..bb7a6d70 100644 --- a/libsoup/server/soup-message-body.c +++ b/libsoup/server/soup-message-body.c @@ -103,7 +103,6 @@ soup_message_body_new (void) * be kept around in case the request needs to be sent a second time * due to redirection or authentication. * - * Since: 2.24 **/ void soup_message_body_set_accumulate (SoupMessageBody *body, @@ -123,7 +122,6 @@ soup_message_body_set_accumulate (SoupMessageBody *body, * * Return value: the accumulate flag for @body. * - * Since: 2.24 **/ gboolean soup_message_body_get_accumulate (SoupMessageBody *body) @@ -188,7 +186,6 @@ soup_message_body_append (SoupMessageBody *body, SoupMemoryUse use, * with %SOUP_MEMORY_TAKE as second argument; it exists mainly for * convenience and simplifying language bindings. * - * Since: 2.32 **/ void soup_message_body_append_take (SoupMessageBody *body, @@ -344,7 +341,6 @@ soup_message_body_get_chunk (SoupMessageBody *body, goffset offset) * This is a low-level method which you should not normally need to * use. * - * Since: 2.24 **/ void soup_message_body_got_chunk (SoupMessageBody *body, GBytes *chunk) @@ -371,7 +367,6 @@ soup_message_body_got_chunk (SoupMessageBody *body, GBytes *chunk) * there are further restrictions on its proper use which are not * documented here. * - * Since: 2.24 **/ void soup_message_body_wrote_chunk (SoupMessageBody *body, GBytes *chunk) diff --git a/libsoup/server/soup-server.c b/libsoup/server/soup-server.c index b500de42..0b76e271 100644 --- a/libsoup/server/soup-server.c +++ b/libsoup/server/soup-server.c @@ -438,7 +438,6 @@ soup_server_class_init (SoupServerClass *server_class) * Alternatively, you can call soup_server_set_ssl_cert_file() * to have #SoupServer read in a a certificate from a file. * - * Since: 2.38 */ g_object_class_install_property ( object_class, PROP_TLS_CERTIFICATE, @@ -536,7 +535,6 @@ soup_server_new (const char *optname1, ...) * * Return value: success or failure. * - * Since: 2.48 */ gboolean soup_server_set_ssl_cert_file (SoupServer *server, @@ -961,7 +959,6 @@ start_request (SoupServer *server, * accepted or any other error occurred (in which case @error will be * set). * - * Since: 2.50 **/ gboolean soup_server_accept_iostream (SoupServer *server, @@ -1053,7 +1050,6 @@ soup_server_disconnect (SoupServer *server) * simply listens on whatever kind of socket you give it). And you * cannot specify both of them in a single call. * - * Since: 2.48 */ static gboolean @@ -1136,7 +1132,6 @@ soup_server_listen_internal (SoupServer *server, SoupSocket *listener, * bound or any other error occurred (in which case @error will be * set). * - * Since: 2.48 **/ gboolean soup_server_listen (SoupServer *server, GSocketAddress *address, @@ -1260,7 +1255,6 @@ soup_server_listen_ipv4_ipv6 (SoupServer *server, * Return value: %TRUE on success, %FALSE if @port could not be bound * or any other error occurred (in which case @error will be set). * - * Since: 2.48 **/ gboolean soup_server_listen_all (SoupServer *server, guint port, @@ -1314,7 +1308,6 @@ soup_server_listen_all (SoupServer *server, guint port, * Return value: %TRUE on success, %FALSE if @port could not be bound * or any other error occurred (in which case @error will be set). * - * Since: 2.48 **/ gboolean soup_server_listen_local (SoupServer *server, guint port, @@ -1362,7 +1355,6 @@ soup_server_listen_local (SoupServer *server, guint port, * Return value: %TRUE on success, %FALSE if an error occurred (in * which case @error will be set). * - * Since: 2.48 **/ gboolean soup_server_listen_socket (SoupServer *server, GSocket *socket, @@ -1410,7 +1402,6 @@ soup_server_listen_socket (SoupServer *server, GSocket *socket, * Return value: (transfer full) (element-type GUri): a list of * #GUris, which you must free when you are done with it. * - * Since: 2.48 */ GSList * soup_server_get_uris (SoupServer *server) @@ -1604,7 +1595,6 @@ soup_server_add_handler (SoupServer *server, * #SoupServerMessage::got-body is emitted, the non-early handler will be * run as well. * - * Since: 2.50 **/ void soup_server_add_early_handler (SoupServer *server, @@ -1831,7 +1821,6 @@ soup_server_unpause_message (SoupServer *server, * Note that #SoupWebsocketExtensionDeflate is supported by default, use * soup_server_remove_websocket_extension() if you want to disable it. * - * Since: 2.68 */ void soup_server_add_websocket_extension (SoupServer *server, GType extension_type) @@ -1857,7 +1846,6 @@ soup_server_add_websocket_extension (SoupServer *server, GType extension_type) * Removes support for WebSocket extension of type @extension_type (or any subclass of * @extension_type) from @server. * - * Since: 2.68 */ void soup_server_remove_websocket_extension (SoupServer *server, GType extension_type) diff --git a/libsoup/soup-form.c b/libsoup/soup-form.c index b22df669..74c35c1d 100644 --- a/libsoup/soup-form.c +++ b/libsoup/soup-form.c @@ -31,7 +31,6 @@ * <literal>"application/x-www-form-urlencoded"</literal>; the default * MIME type for POSTing HTML form data. * - * Since: 2.26 **/ /** @@ -41,7 +40,6 @@ * <literal>"multipart/form-data"</literal>; the MIME type used for * posting form data that contains files to be uploaded. * - * Since: 2.26 **/ #define XDIGIT(c) ((c) <= '9' ? (c) - '0' : ((c) & 0x4F) - 'A' + 10) diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c index 917d5e75..5daa157d 100644 --- a/libsoup/soup-headers.c +++ b/libsoup/soup-headers.c @@ -41,7 +41,6 @@ * * Return value: success or failure * - * Since: 2.26 **/ gboolean soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest) @@ -822,7 +821,6 @@ soup_header_parse_param_list (const char *header) * #GHashTable of list elements, which can be freed with * soup_header_free_param_list(). * - * Since: 2.24 **/ GHashTable * soup_header_parse_semi_param_list (const char *header) @@ -849,7 +847,6 @@ soup_header_parse_semi_param_list (const char *header) * soup_header_free_param_list() or %NULL if there are duplicate * elements. * - * Since: 2.66 **/ GHashTable * soup_header_parse_param_list_strict (const char *header) @@ -876,7 +873,6 @@ soup_header_parse_param_list_strict (const char *header) * soup_header_free_param_list() or %NULL if there are duplicate * elements. * - * Since: 2.66 **/ GHashTable * soup_header_parse_semi_param_list_strict (const char *header) @@ -978,7 +974,6 @@ append_param_internal (GString *string, * If @value is (non-ASCII) UTF-8, this will instead use RFC 5987 * encoding, just like soup_header_g_string_append_param(). * - * Since: 2.30 **/ void soup_header_g_string_append_param_quoted (GString *string, @@ -1010,7 +1005,6 @@ soup_header_g_string_append_param_quoted (GString *string, * * If @value is %NULL, this will just append @name to @string. * - * Since: 2.26 **/ void soup_header_g_string_append_param (GString *string, diff --git a/libsoup/soup-logger.c b/libsoup/soup-logger.c index 8cf01b10..8ac47adf 100644 --- a/libsoup/soup-logger.c +++ b/libsoup/soup-logger.c @@ -218,7 +218,6 @@ soup_logger_class_init (SoupLoggerClass *logger_class) * * The level of logging output * - * Since: 2.56 */ g_object_class_install_property ( object_class, PROP_LEVEL, diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c index 588f03a0..e3dc2cce 100644 --- a/libsoup/soup-message-headers.c +++ b/libsoup/soup-message-headers.c @@ -123,7 +123,6 @@ G_DEFINE_BOXED_TYPE (SoupMessageHeaders, soup_message_headers, soup_message_head * * Return value: the header's type. * - * Since: 2.50 **/ SoupMessageHeadersType soup_message_headers_get_headers_type (SoupMessageHeaders *hdrs) @@ -159,7 +158,6 @@ soup_message_headers_clear (SoupMessageHeaders *hdrs) * * Removes all the headers listed in the Connection header. * - * Since: 2.36 */ void soup_message_headers_clean_connection_headers (SoupMessageHeaders *hdrs) @@ -325,7 +323,6 @@ soup_message_headers_remove (SoupMessageHeaders *hdrs, const char *name) * * Return value: (nullable) (transfer none): the header's value or %NULL if not found. * - * Since: 2.28 **/ const char * soup_message_headers_get_one (SoupMessageHeaders *hdrs, const char *name) @@ -358,7 +355,6 @@ soup_message_headers_get_one (SoupMessageHeaders *hdrs, const char *name) * Return value: %TRUE if the header is present and contains @token, * %FALSE otherwise. * - * Since: 2.50 **/ gboolean soup_message_headers_header_contains (SoupMessageHeaders *hdrs, const char *name, const char *token) @@ -383,7 +379,6 @@ soup_message_headers_header_contains (SoupMessageHeaders *hdrs, const char *name * Return value: %TRUE if the header is present and its value is * @value, %FALSE otherwise. * - * Since: 2.50 **/ gboolean soup_message_headers_header_equals (SoupMessageHeaders *hdrs, const char *name, const char *value) @@ -416,7 +411,6 @@ soup_message_headers_header_equals (SoupMessageHeaders *hdrs, const char *name, * * Return value: (nullable) (transfer none): the header's value or %NULL if not found. * - * Since: 2.28 **/ const char * soup_message_headers_get_list (SoupMessageHeaders *hdrs, const char *name) @@ -904,7 +898,6 @@ soup_message_headers_set_expectations (SoupMessageHeaders *hdrs, * range", referring to the last -@start bytes of the resource body. * (Eg, the last 500 bytes would be @start = -500 and @end = -1.) * - * Since: 2.26 **/ static int @@ -1054,7 +1047,6 @@ soup_message_headers_get_ranges_internal (SoupMessageHeaders *hdrs, * "Range" header, %FALSE otherwise (in which case @range and @length * will not be set). * - * Since: 2.26 **/ gboolean soup_message_headers_get_ranges (SoupMessageHeaders *hdrs, @@ -1075,7 +1067,6 @@ soup_message_headers_get_ranges (SoupMessageHeaders *hdrs, * * Frees the array of ranges returned from soup_message_headers_get_ranges(). * - * Since: 2.26 **/ void soup_message_headers_free_ranges (SoupMessageHeaders *hdrs, @@ -1094,7 +1085,6 @@ soup_message_headers_free_ranges (SoupMessageHeaders *hdrs, * only want to request a single range, you can use * soup_message_headers_set_range().) * - * Since: 2.26 **/ void soup_message_headers_set_ranges (SoupMessageHeaders *hdrs, @@ -1136,7 +1126,6 @@ soup_message_headers_set_ranges (SoupMessageHeaders *hdrs, * If you need to request multiple ranges, use * soup_message_headers_set_ranges(). * - * Since: 2.26 **/ void soup_message_headers_set_range (SoupMessageHeaders *hdrs, @@ -1165,7 +1154,6 @@ soup_message_headers_set_range (SoupMessageHeaders *hdrs, * Return value: %TRUE if @hdrs contained a "Content-Range" header * containing a byte range which could be parsed, %FALSE otherwise. * - * Since: 2.26 **/ gboolean soup_message_headers_get_content_range (SoupMessageHeaders *hdrs, @@ -1221,7 +1209,6 @@ soup_message_headers_get_content_range (SoupMessageHeaders *hdrs, * soup_message_headers_get_ranges() for more details. * </para></note> * - * Since: 2.26 **/ void soup_message_headers_set_content_range (SoupMessageHeaders *hdrs, @@ -1339,7 +1326,6 @@ content_type_setter (SoupMessageHeaders *hdrs, const char *value) * header or it cannot be parsed (in which case *@params will be * unchanged). * - * Since: 2.26 **/ const char * soup_message_headers_get_content_type (SoupMessageHeaders *hdrs, @@ -1363,7 +1349,6 @@ soup_message_headers_get_content_type (SoupMessageHeaders *hdrs, * Sets the "Content-Type" header in @hdrs to @content_type, * optionally with additional parameters specified in @params. * - * Since: 2.26 **/ void soup_message_headers_set_content_type (SoupMessageHeaders *hdrs, @@ -1402,7 +1387,6 @@ soup_message_headers_set_content_type (SoupMessageHeaders *hdrs, * header, %FALSE if not (in which case *@disposition and *@params * will be unchanged). * - * Since: 2.26 **/ gboolean soup_message_headers_get_content_disposition (SoupMessageHeaders *hdrs, @@ -1441,7 +1425,6 @@ soup_message_headers_get_content_disposition (SoupMessageHeaders *hdrs, * See soup_message_headers_get_content_disposition() for a discussion * of how Content-Disposition is used in HTTP. * - * Since: 2.26 **/ void soup_message_headers_set_content_disposition (SoupMessageHeaders *hdrs, diff --git a/libsoup/soup-message.c b/libsoup/soup-message.c index b1cd39a4..169c56fc 100644 --- a/libsoup/soup-message.c +++ b/libsoup/soup-message.c @@ -320,7 +320,6 @@ soup_message_class_init (SoupMessageClass *message_class) * Emitted immediately after writing a portion of the message * body to the network. * - * Since: 2.24 **/ signals[WROTE_BODY_DATA] = g_signal_new ("wrote-body-data", @@ -431,7 +430,6 @@ soup_message_class_init (SoupMessageClass *message_class) * immediately after #SoupMessage::got-headers, and @type is * %NULL. * - * Since: 2.28 **/ signals[CONTENT_SNIFFED] = g_signal_new ("content_sniffed", @@ -450,7 +448,6 @@ soup_message_class_init (SoupMessageClass *message_class) * * Emitted just before a message is sent. * - * Since: 2.50 */ signals[STARTING] = g_signal_new ("starting", @@ -548,7 +545,6 @@ soup_message_class_init (SoupMessageClass *message_class) * the different values of @event correspond to, and what * @connection will be in each case. * - * Since: 2.38 **/ signals[NETWORK_EVENT] = g_signal_new ("network_event", @@ -661,7 +657,6 @@ soup_message_class_init (SoupMessageClass *message_class) * The #GUri loaded in the application when the message was * queued. * - * Since: 2.30 */ g_object_class_install_property ( object_class, PROP_FIRST_PARTY, @@ -676,7 +671,6 @@ soup_message_class_init (SoupMessageClass *message_class) * * Site used to compare cookies against. Used for SameSite cookie support. * - * Since: 2.70 */ g_object_class_install_property ( object_class, PROP_SITE_FOR_COOKIES, @@ -690,7 +684,6 @@ soup_message_class_init (SoupMessageClass *message_class) * * Set when the message is navigating between top level domains. * - * Since: 2.70 */ g_object_class_install_property ( object_class, PROP_IS_TOP_LEVEL_NAVIGATION, @@ -720,7 +713,6 @@ soup_message_class_init (SoupMessageClass *message_class) * * The #GTlsCertificate associated with the message * - * Since: 2.34 */ g_object_class_install_property ( object_class, PROP_TLS_CERTIFICATE, @@ -735,7 +727,6 @@ soup_message_class_init (SoupMessageClass *message_class) * * The verification errors on #SoupMessage:tls-certificate * - * Since: 2.34 */ g_object_class_install_property ( object_class, PROP_TLS_CERTIFICATE_ERRORS, @@ -751,7 +742,6 @@ soup_message_class_init (SoupMessageClass *message_class) * Sets the priority of the #SoupMessage. See * soup_message_set_priority() for further details. * - * Since: 2.44 **/ g_object_class_install_property ( object_class, PROP_PRIORITY, @@ -1400,7 +1390,7 @@ soup_message_cleanup_response (SoupMessage *msg) * after the message is successfully authenticated. This applies to both server * and proxy authentication. Note that #SoupMessage::authenticate signal will * be emitted, if you want to disable authentication for a message use - * soup_message_disable_feature() passing #SOUP_TYPE_AUTH_MANAGER instead. Since 2.58 + * soup_message_disable_feature() passing #SOUP_TYPE_AUTH_MANAGER instead. * * Various flags that can be set on a #SoupMessage to alter its * behavior. @@ -1681,7 +1671,6 @@ soup_message_set_status (SoupMessage *msg, * you cannot call this on a message that is being requeued after a * redirect or authentication. * - * Since: 2.28 **/ void soup_message_disable_feature (SoupMessage *msg, GType feature_type) @@ -1731,7 +1720,6 @@ soup_message_disables_feature (SoupMessage *msg, gpointer feature) * * Returns: %TRUE if feature is disabled, or %FALSE otherwise. * - * Since: 2.72 */ gboolean soup_message_is_feature_disabled (SoupMessage *msg, GType feature_type) @@ -1771,7 +1759,6 @@ soup_message_get_disabled_features (SoupMessage *msg) * * Returns: (transfer none): the @msg's first party #GUri * - * Since: 2.30 **/ GUri * soup_message_get_first_party (SoupMessage *msg) @@ -1793,7 +1780,6 @@ soup_message_get_first_party (SoupMessage *msg) * details of when and how this is used refer to the documentation for * #SoupCookieJarAcceptPolicy. * - * Since: 2.30 **/ void soup_message_set_first_party (SoupMessage *msg, @@ -1829,7 +1815,6 @@ soup_message_set_first_party (SoupMessage *msg, * * Returns: (transfer none): the @msg's site for cookies #GUri * - * Since: 2.70 **/ GUri * soup_message_get_site_for_cookies (SoupMessage *msg) @@ -1856,7 +1841,6 @@ soup_message_get_site_for_cookies (SoupMessage *msg) * See the [same-site spec](https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00) * for more information. * - * Since: 2.70 **/ void soup_message_set_site_for_cookies (SoupMessage *msg, @@ -1892,7 +1876,6 @@ soup_message_set_site_for_cookies (SoupMessage *msg, * See the [same-site spec](https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00) * for more information. * - * Since: 2.70 **/ void soup_message_set_is_top_level_navigation (SoupMessage *msg, @@ -1918,7 +1901,6 @@ soup_message_set_is_top_level_navigation (SoupMessage *msg, * Returns if this message is set as a top level navigation. * Used for same-site policy checks. * - * Since: 2.70 **/ gboolean soup_message_get_is_top_level_navigation (SoupMessage *msg) @@ -2013,7 +1995,6 @@ soup_message_get_tls_certificate_errors (SoupMessage *msg) * because in the synchronous/blocking case, priority ends up being determined * semi-randomly by thread scheduling. * - * Since: 2.44 */ void soup_message_set_priority (SoupMessage *msg, @@ -2033,7 +2014,6 @@ soup_message_set_priority (SoupMessage *msg, * * Return value: the priority of the message. * - * Since: 2.44 */ SoupMessagePriority soup_message_get_priority (SoupMessage *msg) diff --git a/libsoup/soup-misc.c b/libsoup/soup-misc.c index 4f5c28ce..c9ae39cd 100644 --- a/libsoup/soup-misc.c +++ b/libsoup/soup-misc.c @@ -182,7 +182,6 @@ const char soup_char_attributes[] = { * * Return value: %TRUE if the hosts match, %FALSE otherwise * - * Since: 2.54 **/ gboolean soup_host_matches_host (const gchar *host, const gchar *compare_with) diff --git a/libsoup/soup-multipart-input-stream.c b/libsoup/soup-multipart-input-stream.c index 95097178..571434f1 100644 --- a/libsoup/soup-multipart-input-stream.c +++ b/libsoup/soup-multipart-input-stream.c @@ -34,7 +34,6 @@ * you should not read directly from it, and the results are undefined * if you do. * - * Since: 2.40 **/ /** @@ -435,7 +434,6 @@ soup_multipart_input_stream_read_headers (SoupMultipartInputStream *multipart, * * Returns: a new #SoupMultipartInputStream * - * Since: 2.40 **/ SoupMultipartInputStream * soup_multipart_input_stream_new (SoupMessage *msg, @@ -468,7 +466,6 @@ soup_multipart_input_stream_new (SoupMessage *msg, * Return value: (nullable) (transfer full): a new #GInputStream, or * %NULL if there are no more parts * - * Since: 2.40 */ GInputStream * soup_multipart_input_stream_next_part (SoupMultipartInputStream *multipart, @@ -524,7 +521,6 @@ soup_multipart_input_stream_next_part_thread (GTask *task, * soup_multipart_input_stream_next_part() for details on the * workflow. * - * Since: 2.40 */ void soup_multipart_input_stream_next_part_async (SoupMultipartInputStream *multipart, @@ -564,7 +560,6 @@ soup_multipart_input_stream_next_part_async (SoupMultipartInputStream *multipart * #GInputStream for reading the next part or %NULL if there are no * more parts. * - * Since: 2.40 */ GInputStream * soup_multipart_input_stream_next_part_finish (SoupMultipartInputStream *multipart, @@ -594,7 +589,6 @@ soup_multipart_input_stream_next_part_finish (SoupMultipartInputStream *multipar * containing the headers for the part currently being processed or * %NULL if the headers failed to parse. * - * Since: 2.40 */ SoupMessageHeaders * soup_multipart_input_stream_get_headers (SoupMultipartInputStream *multipart) diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c index b383a950..a0f8a216 100644 --- a/libsoup/soup-multipart.c +++ b/libsoup/soup-multipart.c @@ -38,7 +38,6 @@ * explicitly state otherwise. In other words, don't try to use * #SoupMultipart for handling real MIME multiparts. * - * Since: 2.26 **/ struct _SoupMultipart { @@ -87,7 +86,6 @@ generate_boundary (void) * Return value: a new empty #SoupMultipart of the given @mime_type * * See also: soup_message_new_from_multipart() - * Since: 2.26 **/ SoupMultipart * soup_multipart_new (const char *mime_type) @@ -132,7 +130,6 @@ find_boundary (const char *start, const char *end, * Return value: (nullable): a new #SoupMultipart (or %NULL if the * message couldn't be parsed or wasn't multipart). * - * Since: 2.26 **/ SoupMultipart * soup_multipart_new_from_message (SoupMessageHeaders *headers, @@ -230,7 +227,6 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers, * * Return value: the number of body parts in @multipart * - * Since: 2.26 **/ int soup_multipart_get_length (SoupMultipart *multipart) @@ -252,7 +248,6 @@ soup_multipart_get_length (SoupMultipart *multipart) * Return value: %TRUE on success, %FALSE if @part is out of range (in * which case @headers and @body won't be set) * - * Since: 2.26 **/ gboolean soup_multipart_get_part (SoupMultipart *multipart, int part, @@ -276,7 +271,6 @@ soup_multipart_get_part (SoupMultipart *multipart, int part, * you should free your copies if you are not using them for anything * else.) * - * Since: 2.26 **/ void soup_multipart_append_part (SoupMultipart *multipart, @@ -328,7 +322,6 @@ soup_multipart_append_part (SoupMultipart *multipart, * "Content-Disposition: form-data", as per the HTML forms * specification. * - * Since: 2.26 **/ void soup_multipart_append_form_string (SoupMultipart *multipart, @@ -354,7 +347,6 @@ soup_multipart_append_form_string (SoupMultipart *multipart, * "Content-Disposition: form-data", as per the HTML forms * specification. * - * Since: 2.26 **/ void soup_multipart_append_form_file (SoupMultipart *multipart, @@ -392,7 +384,6 @@ soup_multipart_append_form_file (SoupMultipart *multipart, * * Serializes @multipart to @dest_headers and @dest_body. * - * Since: 2.26 **/ void soup_multipart_to_message (SoupMultipart *multipart, @@ -452,7 +443,6 @@ soup_multipart_to_message (SoupMultipart *multipart, * * Frees @multipart * - * Since: 2.26 **/ void soup_multipart_free (SoupMultipart *multipart) diff --git a/libsoup/soup-session-feature.c b/libsoup/soup-session-feature.c index cd7884b3..d23c8f2e 100644 --- a/libsoup/soup-session-feature.c +++ b/libsoup/soup-session-feature.c @@ -32,7 +32,6 @@ * An object that implement some sort of optional feature for * #SoupSession. * - * Since: 2.24 **/ /** @@ -48,7 +47,6 @@ * * The interface implemented by #SoupSessionFeature<!-- -->s. * - * Since: 2.24 **/ G_DEFINE_INTERFACE (SoupSessionFeature, soup_session_feature, G_TYPE_OBJECT) @@ -132,7 +130,6 @@ soup_session_feature_request_unqueued (SoupSessionFeature *feature, * * Return value: %TRUE if @feature accepted @type as a subfeature. * - * Since: 2.34 */ gboolean soup_session_feature_add_feature (SoupSessionFeature *feature, @@ -157,7 +154,6 @@ soup_session_feature_add_feature (SoupSessionFeature *feature, * * Return value: %TRUE if @type was removed from @feature * - * Since: 2.34 */ gboolean soup_session_feature_remove_feature (SoupSessionFeature *feature, @@ -182,7 +178,6 @@ soup_session_feature_remove_feature (SoupSessionFeature *feature, * * Return value: %TRUE if @feature has a subfeature of type @type * - * Since: 2.34 */ gboolean soup_session_feature_has_feature (SoupSessionFeature *feature, diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index e37bcedb..8ea60172 100644 --- a/libsoup/soup-session.c +++ b/libsoup/soup-session.c @@ -564,7 +564,6 @@ soup_session_get_property (GObject *object, guint prop_id, * * Return value: the new session. * - * Since: 2.42 */ SoupSession * soup_session_new (void) @@ -581,7 +580,6 @@ soup_session_new (void) * * Return value: the new session. * - * Since: 2.42 */ SoupSession * soup_session_new_with_options (const char *optname1, @@ -817,7 +815,6 @@ soup_session_requeue_item (SoupSession *session, * (eg, because there was no Location header, or it could not be * parsed). * - * Since: 2.38 */ static gboolean soup_session_redirect_message (SoupSession *session, @@ -1864,7 +1861,6 @@ soup_session_abort (SoupSession *session) * See the main #SoupSession documentation for information on what * features are present in sessions by default. * - * Since: 2.24 **/ void soup_session_add_feature (SoupSession *session, SoupSessionFeature *feature) @@ -1897,7 +1893,6 @@ soup_session_add_feature (SoupSession *session, SoupSessionFeature *feature) * See the main #SoupSession documentation for information on what * features are present in sessions by default. * - * Since: 2.24 **/ void soup_session_add_feature_by_type (SoupSession *session, GType feature_type) @@ -1932,7 +1927,6 @@ soup_session_add_feature_by_type (SoupSession *session, GType feature_type) * * Removes @feature's functionality from @session. * - * Since: 2.24 **/ void soup_session_remove_feature (SoupSession *session, SoupSessionFeature *feature) @@ -1960,7 +1954,6 @@ soup_session_remove_feature (SoupSession *session, SoupSessionFeature *feature) * from the session at construct time by using the * SoupSession:remove-feature-by-type property. * - * Since: 2.24 **/ void soup_session_remove_feature_by_type (SoupSession *session, GType feature_type) @@ -2000,7 +1993,6 @@ soup_session_remove_feature_by_type (SoupSession *session, GType feature_type) * * Return value: %TRUE or %FALSE * - * Since: 2.42 **/ gboolean soup_session_has_feature (SoupSession *session, @@ -2040,7 +2032,6 @@ soup_session_has_feature (SoupSession *session, * Return value: (transfer container) (element-type Soup.SessionFeature): * a list of features. You must free the list, but not its contents * - * Since: 2.26 **/ GSList * soup_session_get_features (SoupSession *session, GType feature_type) @@ -2070,7 +2061,6 @@ soup_session_get_features (SoupSession *session, GType feature_type) * Return value: (nullable) (transfer none): a #SoupSessionFeature, or * %NULL. The feature is owned by @session. * - * Since: 2.26 **/ SoupSessionFeature * soup_session_get_feature (SoupSession *session, GType feature_type) @@ -2117,7 +2107,6 @@ soup_session_get_feature (SoupSession *session, GType feature_type) * Return value: (nullable) (transfer none): a #SoupSessionFeature, or %NULL. The * feature is owned by @session. * - * Since: 2.28 **/ SoupSessionFeature * soup_session_get_feature_for_message (SoupSession *session, GType feature_type, @@ -2178,7 +2167,6 @@ soup_session_class_init (SoupSessionClass *session_class) * other #SoupMessage signals) may be invoked multiple times * for a given message. * - * Since: 2.24 **/ signals[REQUEST_QUEUED] = g_signal_new ("request-queued", @@ -2200,7 +2188,6 @@ soup_session_class_init (SoupSessionClass *session_class) * #SoupSession::request_queued for a detailed description of the * message lifecycle within a session. * - * Since: 2.24 **/ signals[REQUEST_UNQUEUED] = g_signal_new ("request-unqueued", @@ -2224,7 +2211,6 @@ soup_session_class_init (SoupSessionClass *session_class) * #GProxyResolver if you want to control what proxies get * used. * - * Since: 2.42 */ g_object_class_install_property ( object_class, PROP_PROXY_RESOLVER, @@ -2266,7 +2252,6 @@ soup_session_class_init (SoupSessionClass *session_class) * if you want to ensure that all future connections will have * this timeout value. * - * Since: 2.24 **/ g_object_class_install_property ( object_class, PROP_IDLE_TIMEOUT, @@ -2289,7 +2274,6 @@ soup_session_class_init (SoupSessionClass *session_class) * Setting this to %FALSE (when it was previously %TRUE) will * clear the #SoupSession:tls-database field. * - * Since: 2.38 **/ g_object_class_install_property ( object_class, PROP_SSL_USE_SYSTEM_CA_FILE, @@ -2310,7 +2294,6 @@ soup_session_class_init (SoupSessionClass *session_class) * this property to be set to a #GTlsDatabase corresponding to * the indicated file or system default. * - * Since: 2.38 **/ g_object_class_install_property ( object_class, PROP_TLS_DATABASE, @@ -2392,7 +2375,6 @@ soup_session_class_init (SoupSessionClass *session_class) * Setting this will disable * #SoupSession:accept-language-auto. * - * Since: 2.30 **/ g_object_class_install_property ( object_class, PROP_ACCEPT_LANGUAGE, @@ -2413,7 +2395,6 @@ soup_session_class_init (SoupSessionClass *session_class) * Setting this will override any previous value of * #SoupSession:accept-language. * - * Since: 2.30 **/ g_object_class_install_property ( object_class, PROP_ACCEPT_LANGUAGE_AUTO, @@ -2433,7 +2414,6 @@ soup_session_class_init (SoupSessionClass *session_class) * Use this property if you want for instance to bind the * local socket to a specific IP address. * - * Since: 2.42 **/ g_object_class_install_property ( object_class, PROP_LOCAL_ADDRESS, @@ -2451,7 +2431,6 @@ soup_session_class_init (SoupSessionClass *session_class) * #GTlsConnections created by the session. (This can be used to * provide client-side certificates, for example.) * - * Since: 2.48 **/ g_object_class_install_property ( object_class, PROP_TLS_INTERACTION, @@ -2862,7 +2841,6 @@ async_respond_from_cache (SoupSession *session, * * See soup_session_send() for more details on the general semantics. * - * Since: 2.42 */ void soup_session_send_async (SoupSession *session, @@ -2906,7 +2884,6 @@ soup_session_send_async (SoupSession *session, * Return value: (transfer full): a #GInputStream for reading the * response body, or %NULL on error. * - * Since: 2.42 */ GInputStream * soup_session_send_finish (SoupSession *session, @@ -2963,7 +2940,6 @@ soup_session_send_finish (SoupSession *session, * Return value: (transfer full): a #GInputStream for reading the * response body, or %NULL on error. * - * Since: 2.42 */ GInputStream * soup_session_send (SoupSession *session, @@ -3719,7 +3695,6 @@ websocket_connect_async_stop (SoupMessage *msg, gpointer user_data) * soup_session_websocket_connect_finish() will return * %SOUP_WEBSOCKET_ERROR_NOT_WEBSOCKET. * - * Since: 2.50 */ void soup_session_websocket_connect_async (SoupSession *session, @@ -3775,7 +3750,6 @@ soup_session_websocket_connect_async (SoupSession *session, * Return value: (transfer full): a new #SoupWebsocketConnection, or * %NULL on error. * - * Since: 2.50 */ SoupWebsocketConnection * soup_session_websocket_connect_finish (SoupSession *session, diff --git a/libsoup/soup-tld.c b/libsoup/soup-tld.c index b9a5436e..946277c8 100644 --- a/libsoup/soup-tld.c +++ b/libsoup/soup-tld.c @@ -53,7 +53,6 @@ static const char *soup_tld_get_base_domain_internal (const char *hostname, * Returns: a pointer to the start of the base domain in @hostname. If * an error occurs, %NULL will be returned and @error set. * - * Since: 2.40 **/ const char * soup_tld_get_base_domain (const char *hostname, GError **error) @@ -87,7 +86,6 @@ soup_psl_context (void) * * Returns: %TRUE if it is a public domain, %FALSE otherwise. * - * Since: 2.40 **/ gboolean soup_tld_domain_is_public_suffix (const char *domain) @@ -109,7 +107,6 @@ soup_tld_domain_is_public_suffix (const char *domain) * * The #GError domain for soup-tld-related errors. * - * Since: 2.40 */ /** * SoupTLDError: @@ -128,7 +125,6 @@ soup_tld_domain_is_public_suffix (const char *domain) * * Error codes for %SOUP_TLD_ERROR. * - * Since: 2.40 */ G_DEFINE_QUARK (soup-tld-error-quark, soup_tld_error) diff --git a/libsoup/soup-version.c b/libsoup/soup-version.c index 80e9e210..6d5591ee 100644 --- a/libsoup/soup-version.c +++ b/libsoup/soup-version.c @@ -26,7 +26,6 @@ * application compile time, rather than from the library linked * against at application run time. * - * Since: 2.42 */ /** @@ -36,7 +35,6 @@ * application compile time, rather than from the library linked * against at application run time. * - * Since: 2.42 */ /** @@ -46,7 +44,6 @@ * application compile time, rather than from the library linked * against at application run time. * - * Since: 2.42 */ /** @@ -60,7 +57,6 @@ * Returns: %TRUE if the version of the libsoup header files * is the same as or newer than the passed-in version. * - * Since: 2.42 */ /** @@ -76,7 +72,6 @@ * * Returns: the major version number of the libsoup library * - * Since: 2.42 */ guint soup_get_major_version (void) @@ -97,7 +92,6 @@ soup_get_major_version (void) * * Returns: the minor version number of the libsoup library * - * Since: 2.42 */ guint soup_get_minor_version (void) @@ -118,7 +112,6 @@ soup_get_minor_version (void) * * Returns: the micro version number of the libsoup library * - * Since: 2.42 */ guint soup_get_micro_version (void) @@ -140,7 +133,6 @@ soup_get_micro_version (void) * Returns: %TRUE if the version of the libsoup currently loaded * is the same as or newer than the passed-in version. * - * Since: 2.42 */ gboolean soup_check_version (guint major, @@ -165,7 +157,6 @@ soup_check_version (guint major, * %SOUP_VERSION_MIN_REQUIRED or earlier will cause warnings (but * using functions deprecated in later releases will not). * - * Since: 2.42 */ /** @@ -186,5 +177,4 @@ soup_check_version (guint major, * different code depending on the libsoup version, then this should be * set to the same value as %SOUP_VERSION_MIN_REQUIRED. * - * Since: 2.42 */ diff --git a/libsoup/websocket/soup-websocket-connection.c b/libsoup/websocket/soup-websocket-connection.c index 1262f290..19b5cd1a 100644 --- a/libsoup/websocket/soup-websocket-connection.c +++ b/libsoup/websocket/soup-websocket-connection.c @@ -59,7 +59,6 @@ * * A class representing a WebSocket connection. * - * Since: 2.50 */ /** @@ -72,7 +71,6 @@ * * The abstract base class for #SoupWebsocketConnection * - * Since: 2.50 */ enum { @@ -1490,7 +1488,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * The input and output streams must be pollable streams. * - * Since: 2.50 */ g_object_class_install_property (gobject_class, PROP_IO_STREAM, g_param_spec_object ("io-stream", @@ -1506,7 +1503,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * The type of connection (client/server). * - * Since: 2.50 */ g_object_class_install_property (gobject_class, PROP_CONNECTION_TYPE, g_param_spec_enum ("connection-type", @@ -1526,7 +1522,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * For servers this represents the address of the WebSocket, * and for clients it is the address connected to. * - * Since: 2.50 */ g_object_class_install_property (gobject_class, PROP_URI, g_param_spec_boxed ("uri", @@ -1542,7 +1537,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * The client's Origin. * - * Since: 2.50 */ g_object_class_install_property (gobject_class, PROP_ORIGIN, g_param_spec_string ("origin", @@ -1559,7 +1553,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * The chosen protocol, or %NULL if a protocol was not agreed * upon. * - * Since: 2.50 */ g_object_class_install_property (gobject_class, PROP_PROTOCOL, g_param_spec_string ("protocol", @@ -1575,7 +1568,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * The current state of the WebSocket. * - * Since: 2.50 */ g_object_class_install_property (gobject_class, PROP_STATE, g_param_spec_enum ("state", @@ -1592,7 +1584,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * The maximum payload size for incoming packets the protocol expects * or 0 to not limit it. * - * Since: 2.56 */ g_object_class_install_property (gobject_class, PROP_MAX_INCOMING_PAYLOAD_SIZE, g_param_spec_uint64 ("max-incoming-payload-size", @@ -1612,7 +1603,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * serve as a keepalive message. If set to 0 the keepalive message is * disabled. * - * Since: 2.58 */ g_object_class_install_property (gobject_class, PROP_KEEPALIVE_INTERVAL, g_param_spec_uint ("keepalive-interval", @@ -1630,7 +1620,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * List of #SoupWebsocketExtension objects that are active in the connection. * - * Since: 2.68 */ g_object_class_install_property (gobject_class, PROP_EXTENSIONS, g_param_spec_pointer ("extensions", @@ -1652,7 +1641,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * NUL-terminated, but the NUL byte will not be included in * the length count. * - * Since: 2.50 */ signals[MESSAGE] = g_signal_new ("message", SOUP_TYPE_WEBSOCKET_CONNECTION, @@ -1670,7 +1658,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * be fired multiple times. Fatal errors will be followed by * the #SoupWebsocketConnection::closed signal being emitted. * - * Since: 2.50 */ signals[ERROR] = g_signal_new ("error", SOUP_TYPE_WEBSOCKET_CONNECTION, @@ -1685,7 +1672,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * This signal will be emitted during an orderly close. * - * Since: 2.50 */ signals[CLOSING] = g_signal_new ("closing", SOUP_TYPE_WEBSOCKET_CONNECTION, @@ -1705,7 +1691,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * * This signal will be emitted once. * - * Since: 2.50 */ signals[CLOSED] = g_signal_new ("closed", SOUP_TYPE_WEBSOCKET_CONNECTION, @@ -1726,7 +1711,6 @@ soup_websocket_connection_class_init (SoupWebsocketConnectionClass *klass) * NUL-terminated, but the NUL byte will not be included in * the length count. * - * Since: 2.60 */ signals[PONG] = g_signal_new ("pong", SOUP_TYPE_WEBSOCKET_CONNECTION, @@ -1781,7 +1765,6 @@ soup_websocket_connection_new (GIOStream *stream, * * Returns: (transfer none): the WebSocket's I/O stream. * - * Since: 2.50 */ GIOStream * soup_websocket_connection_get_io_stream (SoupWebsocketConnection *self) @@ -1801,7 +1784,6 @@ soup_websocket_connection_get_io_stream (SoupWebsocketConnection *self) * * Returns: the connection type * - * Since: 2.50 */ SoupWebsocketConnectionType soup_websocket_connection_get_connection_type (SoupWebsocketConnection *self) @@ -1824,7 +1806,6 @@ soup_websocket_connection_get_connection_type (SoupWebsocketConnection *self) * * Returns: (transfer none): the URI * - * Since: 2.50 */ GUri * soup_websocket_connection_get_uri (SoupWebsocketConnection *self) @@ -1844,7 +1825,6 @@ soup_websocket_connection_get_uri (SoupWebsocketConnection *self) * * Returns: (nullable): the origin, or %NULL * - * Since: 2.50 */ const char * soup_websocket_connection_get_origin (SoupWebsocketConnection *self) @@ -1864,7 +1844,6 @@ soup_websocket_connection_get_origin (SoupWebsocketConnection *self) * * Returns: (nullable): the chosen protocol, or %NULL * - * Since: 2.50 */ const char * soup_websocket_connection_get_protocol (SoupWebsocketConnection *self) @@ -1884,7 +1863,6 @@ soup_websocket_connection_get_protocol (SoupWebsocketConnection *self) * * Returns: (element-type SoupWebsocketExtension) (transfer none): a #GList of #SoupWebsocketExtension objects * - * Since: 2.68 */ GList * soup_websocket_connection_get_extensions (SoupWebsocketConnection *self) @@ -1904,7 +1882,6 @@ soup_websocket_connection_get_extensions (SoupWebsocketConnection *self) * * Returns: the state * - * Since: 2.50 */ SoupWebsocketState soup_websocket_connection_get_state (SoupWebsocketConnection *self) @@ -1934,7 +1911,6 @@ soup_websocket_connection_get_state (SoupWebsocketConnection *self) * * Returns: the close code or zero. * - * Since: 2.50 */ gushort soup_websocket_connection_get_close_code (SoupWebsocketConnection *self) @@ -1958,7 +1934,6 @@ soup_websocket_connection_get_close_code (SoupWebsocketConnection *self) * * Returns: the close data or %NULL * - * Since: 2.50 */ const char * soup_websocket_connection_get_close_data (SoupWebsocketConnection *self) @@ -1982,7 +1957,6 @@ soup_websocket_connection_get_close_data (SoupWebsocketConnection *self) * The message is queued to be sent and will be sent when the main loop * is run. * - * Since: 2.50 */ void soup_websocket_connection_send_text (SoupWebsocketConnection *self, @@ -2011,7 +1985,6 @@ soup_websocket_connection_send_text (SoupWebsocketConnection *self, * The message is queued to be sent and will be sent when the main loop * is run. * - * Since: 2.50 */ void soup_websocket_connection_send_binary (SoupWebsocketConnection *self, @@ -2037,7 +2010,6 @@ soup_websocket_connection_send_binary (SoupWebsocketConnection *self, * The message is queued to be sent and will be sent when the main loop * is run. * - * Since: 2.68 */ void soup_websocket_connection_send_message (SoupWebsocketConnection *self, @@ -2074,7 +2046,6 @@ soup_websocket_connection_send_message (SoupWebsocketConnection *self, * (without code and data) is sent. * Note that the @data must be UTF-8 valid. * - * Since: 2.50 */ void soup_websocket_connection_close (SoupWebsocketConnection *self, @@ -2105,7 +2076,6 @@ soup_websocket_connection_close (SoupWebsocketConnection *self, * * Returns: the maximum payload size. * - * Since: 2.56 */ guint64 soup_websocket_connection_get_max_incoming_payload_size (SoupWebsocketConnection *self) @@ -2125,7 +2095,6 @@ soup_websocket_connection_get_max_incoming_payload_size (SoupWebsocketConnection * Sets the maximum payload size allowed for incoming packets. It * does not limit the outgoing packet size. * - * Since: 2.56 */ void soup_websocket_connection_set_max_incoming_payload_size (SoupWebsocketConnection *self, @@ -2149,7 +2118,6 @@ soup_websocket_connection_set_max_incoming_payload_size (SoupWebsocketConnection * * Returns: the keepalive interval. * - * Since: 2.58 */ guint soup_websocket_connection_get_keepalive_interval (SoupWebsocketConnection *self) @@ -2183,7 +2151,6 @@ on_queue_ping (gpointer user_data) * Sets the interval in seconds on when to send a ping message which will serve * as a keepalive message. If set to 0 the keepalive message is disabled. * - * Since: 2.58 */ void soup_websocket_connection_set_keepalive_interval (SoupWebsocketConnection *self, diff --git a/libsoup/websocket/soup-websocket-extension-deflate.c b/libsoup/websocket/soup-websocket-extension-deflate.c index 77e6c1d5..3e4607bb 100644 --- a/libsoup/websocket/soup-websocket-extension-deflate.c +++ b/libsoup/websocket/soup-websocket-extension-deflate.c @@ -75,7 +75,6 @@ typedef struct { * This extension is used by default in a #SoupSession when #SoupWebsocketExtensionManager * feature is present, and always used by #SoupServer. * - * Since: 2.68 */ /** @@ -83,7 +82,6 @@ typedef struct { * * A #GType corresponding to permessage-deflate WebSocket extension. * - * Since: 2.68 */ G_DEFINE_TYPE_WITH_PRIVATE (SoupWebsocketExtensionDeflate, soup_websocket_extension_deflate, SOUP_TYPE_WEBSOCKET_EXTENSION) diff --git a/libsoup/websocket/soup-websocket-extension-manager.c b/libsoup/websocket/soup-websocket-extension-manager.c index f2c26f9e..fa775d8a 100644 --- a/libsoup/websocket/soup-websocket-extension-manager.c +++ b/libsoup/websocket/soup-websocket-extension-manager.c @@ -44,7 +44,6 @@ * session with soup_session_remove_feature_by_type(), or disable it on * individual requests with soup_message_disable_feature(). * - * Since: 2.68 **/ /** @@ -54,7 +53,6 @@ * soup_session_remove_feature_by_type() or * soup_message_disable_feature(). * - * Since: 2.68 */ static void soup_websocket_extension_manager_session_feature_init (SoupSessionFeatureInterface *feature_interface, gpointer interface_data); diff --git a/libsoup/websocket/soup-websocket-extension.c b/libsoup/websocket/soup-websocket-extension.c index 86180902..3120ab76 100644 --- a/libsoup/websocket/soup-websocket-extension.c +++ b/libsoup/websocket/soup-websocket-extension.c @@ -33,7 +33,6 @@ * * SoupWebsocketExtension is the base class for WebSocket extension objects. * - * Since: 2.68 */ /** @@ -58,7 +57,6 @@ * * The class structure for the SoupWebsocketExtension. * - * Since: 2.68 */ G_DEFINE_ABSTRACT_TYPE (SoupWebsocketExtension, soup_websocket_extension, G_TYPE_OBJECT) @@ -112,7 +110,6 @@ soup_websocket_extension_configure (SoupWebsocketExtension *extension, * * Returns: (nullable) (transfer full): a new allocated string with the parameters * - * Since: 2.68 */ char * soup_websocket_extension_get_request_params (SoupWebsocketExtension *extension) @@ -137,7 +134,6 @@ soup_websocket_extension_get_request_params (SoupWebsocketExtension *extension) * * Returns: (nullable) (transfer full): a new allocated string with the parameters * - * Since: 2.68 */ char * soup_websocket_extension_get_response_params (SoupWebsocketExtension *extension) @@ -168,7 +164,6 @@ soup_websocket_extension_get_response_params (SoupWebsocketExtension *extension) * * Returns: (transfer full): the message payload data, or %NULL in case of error * - * Since: 2.68 */ GBytes * soup_websocket_extension_process_outgoing_message (SoupWebsocketExtension *extension, @@ -205,7 +200,6 @@ soup_websocket_extension_process_outgoing_message (SoupWebsocketExtension *exten * * Returns: (transfer full): the message payload data, or %NULL in case of error * - * Since: 2.68 */ GBytes * soup_websocket_extension_process_incoming_message (SoupWebsocketExtension *extension, diff --git a/libsoup/websocket/soup-websocket.c b/libsoup/websocket/soup-websocket.c index 0a40d4c6..cb77eb59 100644 --- a/libsoup/websocket/soup-websocket.c +++ b/libsoup/websocket/soup-websocket.c @@ -61,7 +61,6 @@ * (#SoupWebsocketConnection currently only supports asynchronous * I/O.) * - * Since: 2.50 */ /** @@ -70,7 +69,6 @@ * A #GError domain for WebSocket-related errors. Used with * #SoupWebsocketError. * - * Since: 2.50 */ /** @@ -85,7 +83,6 @@ * * WebSocket-related errors. * - * Since: 2.50 */ /** @@ -96,7 +93,6 @@ * * The type of a #SoupWebsocketConnection. * - * Since: 2.50 */ /** @@ -107,7 +103,6 @@ * The type of data contained in a #SoupWebsocketConnection::message * signal. * - * Since: 2.50 */ /** @@ -140,7 +135,6 @@ * soup_websocket_connection_get_close_code(). (However, other codes * are also allowed.) * - * Since: 2.50 */ /** @@ -152,7 +146,6 @@ * * The state of the WebSocket connection. * - * Since: 2.50 */ G_DEFINE_QUARK (soup-websocket-error-quark, soup_websocket_error) |