From 66889751d153e92d9ac8ef53fd88f73317eaabac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 18 May 2018 12:01:29 +0200 Subject: [PATCH] Update to V0.20.2 --- api-index-full.html | 12 ++- deprecated-api-index.html | 4 +- home.png | Bin 256 -> 256 bytes index.html | 6 +- left-insensitive.png | Bin 395 -> 395 bytes left.png | Bin 262 -> 262 bytes libpsl-Public-Suffix-List-functions.html | 114 +++++++++++++++++------ libpsl.devhelp2 | 2 + libpsl.html | 4 +- object-tree.html | 4 +- right-insensitive.png | Bin 373 -> 373 bytes right.png | Bin 261 -> 261 bytes style.css | 4 + up-insensitive.png | Bin 374 -> 374 bytes up.png | Bin 260 -> 260 bytes 15 files changed, 109 insertions(+), 41 deletions(-) diff --git a/api-index-full.html b/api-index-full.html index 6cb21d3..bbd8165 100644 --- a/api-index-full.html +++ b/api-index-full.html @@ -8,7 +8,7 @@ - + @@ -91,6 +91,10 @@ psl_free, function in Public Suffix List functions
+
+psl_free_string, function in Public Suffix List functions +
+

G

psl_get_version, function in Public Suffix List functions @@ -154,6 +158,10 @@
+PSL_TYPE_NO_STAR_RULE, macro in Public Suffix List functions +
+
+
PSL_TYPE_PRIVATE, macro in Public Suffix List functions
@@ -185,6 +193,6 @@
+
Generated by GTK-Doc V1.28 \ No newline at end of file diff --git a/deprecated-api-index.html b/deprecated-api-index.html index 011fb31..fd1051a 100644 --- a/deprecated-api-index.html +++ b/deprecated-api-index.html @@ -7,7 +7,7 @@ - + @@ -24,6 +24,6 @@ +
Generated by GTK-Doc V1.28 \ No newline at end of file diff --git a/home.png b/home.png index c989d4665d94e83be84de0c5266b6bbb0584bdb9..e80e202ad8bde5320b3c04955713f616269dca30 100644 GIT binary patch delta 20 bcmZo*YG9fW$n}U>mfb|NFJ{KliP1{|K#B(r delta 20 ccmZo*YG9fW$n}tkpG`^2`}L)-6Qh>`07DuF!T - + @@ -15,7 +15,7 @@

- for Libpsl 0.17.0 + for Libpsl 0.20.2 . The latest version of this documentation can be found on-line at GitHub. @@ -34,6 +34,6 @@

+
Generated by GTK-Doc V1.28 \ No newline at end of file diff --git a/left-insensitive.png b/left-insensitive.png index b1148fb805fee12a48ba5d5d98e241ef884e8c85..fea007e794358b964232405d5f0649fe2cfdcb54 100644 GIT binary patch delta 21 ccmeBX?q;44$n}U>mfb|NFJ{KljnM{-07(r7(f|Me delta 21 ccmeBX?q;44$n}tkpG`^2`}L)-8>0;v0ZdT`h5!Hn diff --git a/left.png b/left.png index c164913742594b63d75d480135f87ed3a20a99ce..193905fc77cc68c94fb2329dd6ea50acd4656365 100644 GIT binary patch delta 20 bcmZo;YGaxZ$n}U>mfb|NFJ{KliP5V8L39To delta 20 ccmZo;YGaxZ$n}tkpG`^2`}L)-6QfrH07L`_)Bpeg diff --git a/libpsl-Public-Suffix-List-functions.html b/libpsl-Public-Suffix-List-functions.html index 5e3810f..6b6d1ce 100644 --- a/libpsl-Public-Suffix-List-functions.html +++ b/libpsl-Public-Suffix-List-functions.html @@ -8,7 +8,7 @@ - + @@ -204,6 +204,14 @@ psl_str_to_utf8lower () + + +void + + +psl_free_string () + + @@ -245,6 +253,10 @@ #define +PSL_TYPE_NO_STAR_RULE + + +#define PSL_TYPE_ANY @@ -294,7 +306,7 @@ To free the allocated resources, call

Returns

-

Pointer to a PSL context or NULL on failure.

+

Pointer to a PSL context or NULL on failure.

Since: 0.1

@@ -323,7 +335,7 @@ To free the allocated resources, call

Returns

-

Pointer to a PSL context or NULL on failure.

+

Pointer to a PSL context or NULL on failure.

Since: 0.1

@@ -335,12 +347,12 @@ psl_latest (const char *fn

This function loads the the latest available PSL data from either

  • fname - (application specific filename, may be NULL)

  • + (application specific filename, may be NULL)

  • location specified during built-time (filename from ./configure --with-psl-distfile)

  • built-in PSL data (generated from ./configure --with-psl-file)

  • location of built-in data (filename from ./configure --with-psl-file)

-

If none of the above is available, the function returns NULL.

+

If none of the above is available, the function returns NULL.

To free the allocated resources, call psl_free().

Parameters

@@ -352,14 +364,14 @@ psl_latest (const char *fn

fname

-

Name of PSL file or NULL

+

Name of PSL file or NULL

 

Returns

-

Pointer to a PSL context or NULL on failure.

+

Pointer to a PSL context or NULL on failure.

Since: 0.16

@@ -369,9 +381,9 @@ psl_latest (const char *fn
const psl_ctx_t *
 psl_builtin (void);

This function returns the PSL context that has been generated and built in at compile-time. -You don't have to free the returned context explicitely.

+You don't have to free the returned context explicitly.

The builtin data also contains punycode entries, one for each international domain name.

-

If the generation of built-in data has been disabled during compilation, NULL will be returned. +

If the generation of built-in data has been disabled during compilation, NULL will be returned. When using the builtin psl context, you can provide UTF-8 (lowercase + NFKC) or ASCII/ACE (punycode) representations of domains to functions like psl_is_public_suffix().

@@ -462,7 +474,10 @@ psl_is_public_suffix2 (const Mozilla Public Suffix List.

type specifies the PSL section where to perform the lookup. Valid values are -PSL_TYPE_PRIVATE, PSL_TYPE_ICANN and PSL_TYPE_ANY.

+PSL_TYPE_PRIVATE, PSL_TYPE_ICANN, PSL_TYPE_NO_STAR_RULE, and PSL_TYPE_ANY.

+

PSL_TYPE_NO_STAR_RULE switches of the 'prevailing star rule' (see +List under 'Algorithm' 2.). +Applying the flag means that TLDs not explicitly listed in the PSL are *not* treated as public suffixes.

International domain names have to be either in UTF-8 (lowercase + NFKC) or in ASCII/ACE format (punycode). Other encodings likely result in incorrect return values. @@ -546,9 +561,9 @@ Use helper function

Returns

Pointer to longest public suffix part of domain -or NULL if domain +or NULL if domain does not contain a public suffix (or if psl -is NULL).

+is NULL).

Since: 0.1

@@ -594,9 +609,9 @@ Use helper function

Returns

Pointer to shortest private suffix part of domain -or NULL if domain +or NULL if domain does not contain a private suffix (or if psl -is NULL).

+is NULL).

Since: 0.1

@@ -608,6 +623,9 @@ psl_suffix_count (const psl . The number of exceptions within the Public Suffix List are not included.

+

If the information is not available, the return value is -1 (since 0.19). +This is the case with DAFSA blobs or if psl + is NULL.

Parameters

@@ -625,7 +643,7 @@ The number of exceptions within the Public Suffix List are not included.

Returns

-

Number of public suffixes entries in PSL context.

+

Number of public suffixes entries in PSL context or -1 if this information is not available.

Since: 0.1

@@ -636,6 +654,9 @@ The number of exceptions within the Public Suffix List are not included.

psl_suffix_exception_count (const psl_ctx_t *psl);

This function returns number of public suffix exceptions maintained by psl .

+

If the information is not available, the return value is -1 (since 0.19). +This is the case with DAFSA blobs or if psl + is NULL.

Parameters

@@ -653,7 +674,7 @@ psl_suffix_exception_count (const

Returns

-

Number of public suffix exceptions in PSL context.

+

Number of public suffix exceptions in PSL context or -1 if this information is not available.

Since: 0.1

@@ -664,6 +685,9 @@ psl_suffix_exception_count (const const psl_ctx_t *psl);

This function returns number of public suffix wildcards maintained by psl .

+

If the information is not available, the return value is -1 (since 0.19). +This is the case with DAFSA blobs or if psl + is NULL.

Parameters

@@ -681,7 +705,7 @@ psl_suffix_wildcard_count (const

Returns

-

Number of public suffix wildcards in PSL context.

+

Number of public suffix wildcards in PSL context or -1 if this information is not available.

Since: 0.10.0

@@ -865,8 +889,8 @@ psl_str_to_utf8lower (const char<

This helper function converts a string to UTF-8 lowercase + NFKC representation. Lowercase + NFKC UTF-8 is needed as input to the domain checking functions.

lower - is set to NULL on error.

-

The return value 'lower' must be freed after usage.

+ stays unchanged on error.

+

When returning PSL_SUCCESS, the return value 'lower' must be freed after usage.

Parameters

@@ -884,13 +908,13 @@ Lowercase + NFKC UTF-8 is needed as input to the domain checking functions.

+, e.g. 'iso-8859-1' or NULL

+for to lowercase conversion, e.g. 'de' or NULL

@@ -906,7 +930,7 @@ for to lowercase conversion, e.g. 'de' or str -is a NULL value. +is a NULL value. PSL_ERR_CONVERTER: Failed to open the unicode converter with name encoding PSL_ERR_TO_UTF16: Failed to convert str to unicode @@ -916,12 +940,36 @@ PSL_ERR_NO_MEM: Failed to allocate memory

Since: 0.4

+
+
+

psl_free_string ()

+
void
+psl_free_string (char *str);
+

This function free()'s the memory allocated by psl_str_to_utf8lower() when +returning a lowercase string

+
+

Parameters

+

encoding

charset encoding of str -, e.g. 'iso-8859-1' or NULL

 

locale

locale of str -for to lowercase conversion, e.g. 'de' or NULL

 
+++++ + + + + + +

str

pointer to lowercase string returned by psl_str_to_utf8lower()

 
+
+

Since: 0.19

+

Types and Values

PSL_VERSION

-
#define PSL_VERSION "0.17.0"
+
#define PSL_VERSION "0.20.2"
 

@@ -933,37 +981,43 @@ PSL_ERR_NO_MEM: Failed to allocate memory


PSL_VERSION_MINOR

-
#define PSL_VERSION_MINOR 17
+
#define PSL_VERSION_MINOR 20
 

PSL_VERSION_NUMBER

-
#define PSL_VERSION_NUMBER 0x001100
+
#define PSL_VERSION_NUMBER 0x001402
 

PSL_VERSION_PATCH

-
#define PSL_VERSION_PATCH 0
+
#define PSL_VERSION_PATCH 2
 

PSL_TYPE_ICANN

-
#define PSL_TYPE_ICANN   (1<<0)
+
#define PSL_TYPE_ICANN        (1<<0)
 

PSL_TYPE_PRIVATE

-
#define PSL_TYPE_PRIVATE (1<<1)
+
#define PSL_TYPE_PRIVATE      (1<<1)
+
+
+
+
+

PSL_TYPE_NO_STAR_RULE

+
#define PSL_TYPE_NO_STAR_RULE (1<<2)
 

PSL_TYPE_ANY

-
#define PSL_TYPE_ANY     (PSL_TYPE_ICANN | PSL_TYPE_PRIVATE)
+
#define PSL_TYPE_ANY          (PSL_TYPE_ICANN | PSL_TYPE_PRIVATE)
 

@@ -1043,6 +1097,6 @@ Positive values are reserved for non-error return codes.

+
Generated by GTK-Doc V1.28 \ No newline at end of file diff --git a/libpsl.devhelp2 b/libpsl.devhelp2 index da17e49..2e543eb 100644 --- a/libpsl.devhelp2 +++ b/libpsl.devhelp2 @@ -30,6 +30,7 @@ + @@ -37,6 +38,7 @@ + diff --git a/libpsl.html b/libpsl.html index 34662fc..be11918 100644 --- a/libpsl.html +++ b/libpsl.html @@ -8,7 +8,7 @@ - + @@ -30,6 +30,6 @@

+
Generated by GTK-Doc V1.28 \ No newline at end of file diff --git a/object-tree.html b/object-tree.html index 48b720a..12fb08a 100644 --- a/object-tree.html +++ b/object-tree.html @@ -8,7 +8,7 @@ - + @@ -27,6 +27,6 @@ +
Generated by GTK-Doc V1.28 \ No newline at end of file diff --git a/right-insensitive.png b/right-insensitive.png index c1efa27853f853ed2b9aae854f339a700e1bf9c4..ef7d866a8855d181997c99fb7d65fb7b4983cb39 100644 GIT binary patch delta 21 dcmey$^p$BsAlD;iS#}f6zL*(HH%3b_0svV{2aW&$ delta 21 dcmey$^p$BsAlE}Cel{g7@7I^UZj6><1OQx*2toh= diff --git a/right.png b/right.png index 83361a6558122754eb0893aff898b2d94e97feab..07fefed0d8f4419ec2bd2efe12d9725c0faf179e 100644 GIT binary patch delta 20 bcmZo=YGs-b$n}U>mfb|NFJ{KliP5V7K}`o8 delta 20 ccmZo=YGs-b$n}tkpG`^2`}L)-6QfrF07Kme(EtDd diff --git a/style.css b/style.css index 3675420..4be4ede 100644 --- a/style.css +++ b/style.css @@ -30,6 +30,10 @@ body vertical-align: top; } +span.nowrap { + white-space: nowrap; +} + div.gallery-float { float: left; diff --git a/up-insensitive.png b/up-insensitive.png index 13e1a4f07b752a39a6da4a93f882c622f5bf7180..99528f8c9e831a858518b3552fcc0cfed314168b 100644 GIT binary patch delta 21 dcmeyy^o?mkAlD;iS#}f6zL*(HH%3b{0svWc2ax~( delta 21 dcmeyy^o?mkAlE}Cel{g7@7I^UZj6>@1OQyQ2t@z@ diff --git a/up.png b/up.png index 67a9054b6a9d2653d98e1024d37feb1d95a3e1e0..aa6a2ae951bbbbb0e76e8b9358fefb5e2d0d3064 100644 GIT binary patch delta 20 bcmZo+YGIlX$n}U>mfb|NFJ{KliP0+oK_&+p delta 20 ccmZo+YGIlX$n}tkpG`^2`}L)-6QfrG07JG1&Hw-a