Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/67b7854737f23f76b700a6fe76ce6060435f5cff
...commit
http://git.netsurf-browser.org/netsurf.git/commit/67b7854737f23f76b700a6fe76ce6060435f5cff
...tree
http://git.netsurf-browser.org/netsurf.git/tree/67b7854737f23f76b700a6fe76ce6060435f5cff
The branch, master has been updated
via 67b7854737f23f76b700a6fe76ce6060435f5cff (commit)
from 811d7b71758917919a0c94b1289bd5608119ccc5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=67b7854737f23f76b700a6fe76ce6060435f5cff
commit 67b7854737f23f76b700a6fe76ce6060435f5cff
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
IDNA: Update to upstream-compatible utf8proc API.
diff --git a/utils/idna.c b/utils/idna.c
index a23801b..d75f957 100644
--- a/utils/idna.c
+++ b/utils/idna.c
@@ -250,7 +250,7 @@ idna__utf8_to_ucs4(const char *utf8_label,
return NSERROR_NOMEM;
}
- nfc_size = utf8proc_normalise(nfc_label, nfc_size,
+ nfc_size = utf8proc_normalize_utf32(nfc_label, nfc_size,
UTF8PROC_STABLE | UTF8PROC_COMPOSE);
if (nfc_size < 0) {
return NSERROR_NOMEM;
@@ -565,7 +565,7 @@ static bool idna__verify(const char *label, size_t len)
}
/* Perform NFC normalisation */
- ucs4_len = utf8proc_normalise(ucs4, u_ucs4_len,
+ ucs4_len = utf8proc_normalize_utf32(ucs4, u_ucs4_len,
UTF8PROC_STABLE | UTF8PROC_COMPOSE);
if (ucs4_len < 0) {
free(ucs4);
-----------------------------------------------------------------------
Summary of changes:
utils/idna.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/idna.c b/utils/idna.c
index a23801b..d75f957 100644
--- a/utils/idna.c
+++ b/utils/idna.c
@@ -250,7 +250,7 @@ idna__utf8_to_ucs4(const char *utf8_label,
return NSERROR_NOMEM;
}
- nfc_size = utf8proc_normalise(nfc_label, nfc_size,
+ nfc_size = utf8proc_normalize_utf32(nfc_label, nfc_size,
UTF8PROC_STABLE | UTF8PROC_COMPOSE);
if (nfc_size < 0) {
return NSERROR_NOMEM;
@@ -565,7 +565,7 @@ static bool idna__verify(const char *label, size_t len)
}
/* Perform NFC normalisation */
- ucs4_len = utf8proc_normalise(ucs4, u_ucs4_len,
+ ucs4_len = utf8proc_normalize_utf32(ucs4, u_ucs4_len,
UTF8PROC_STABLE | UTF8PROC_COMPOSE);
if (ucs4_len < 0) {
free(ucs4);
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org