[vala/staging] glib-2.0: Update GLib.Uri API (since 2.66)
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] glib-2.0: Update GLib.Uri API (since 2.66)
- Date: Sun, 23 Aug 2020 10:58:55 +0000 (UTC)
commit d07b275c3e79ad31f8d2fc1371ace12f8cf25095
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Aug 23 10:02:52 2020 +0200
glib-2.0: Update GLib.Uri API (since 2.66)
vapi/glib-2.0.vapi | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 3405700c3..ef22a83d9 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4040,8 +4040,8 @@ namespace GLib {
[Version (since = "2.66")]
public UriFlags get_flags ();
- [Version (since = "2.16")]
- public static string? parse_params (string uri, size_t length, char separator, bool
case_insensitive);
+ [Version (since = "2.66")]
+ public static string? parse_params (string uri, size_t length = -1, string separators = "&;",
UriParamsFlags flags = 0) throws UriError;
[Version (since = "2.16")]
public static string? parse_scheme (string uri);
[Version (since = "2.66")]
@@ -4053,7 +4053,7 @@ namespace GLib {
[Version (since = "2.16")]
public static string? unescape_segment (string? escaped_string, string? escaped_string_end,
string? illegal_characters = null);
[Version (since = "2.66")]
- public static Bytes? unescape_bytes (string escaped_string, size_t length);
+ public static Bytes? unescape_bytes (string escaped_string, size_t length = -1, string?
illegal_characters = null) throws UriError;
[Version (since = "2.66")]
public static string? escape_bytes ([CCode (array_length_type = "gsize")] uint8[] unescaped,
string? reserved_chars_allowed = null);
[Version (since = "2.6")]
@@ -4063,7 +4063,7 @@ namespace GLib {
[Version (since = "2.66")]
public errordomain UriError {
- MISC,
+ FAILED,
BAD_SCHEME,
BAD_USER,
BAD_PASSWORD,
@@ -4081,11 +4081,14 @@ namespace GLib {
[CCode (cprefix = "G_URI_FLAGS_", has_type_id = false)]
public enum UriFlags {
NONE,
- PARSE_STRICT,
+ PARSE_RELAXED,
HAS_PASSWORD,
HAS_AUTH_PARAMS,
ENCODED,
- NON_DNS
+ NON_DNS,
+ ENCODED_QUERY,
+ ENCODED_PATH,
+ ENCODED_FRAGMENT
}
[Flags]
@@ -4096,6 +4099,7 @@ namespace GLib {
USERINFO,
PASSWORD,
AUTH_PARAMS,
+ QUERY,
FRAGMENT
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]