Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
c01fda67
Commit
c01fda67
authored
21 years ago
by
Marcus Comstedt
Browse files
Options
Downloads
Patches
Plain Diff
IDNA and Punycode now have RFC status. Misc autodoc bugfixes.
Rev: lib/modules/Standards.pmod/IDNA.pmod:1.6
parent
65e40b59
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Standards.pmod/IDNA.pmod
+7
-7
7 additions, 7 deletions
lib/modules/Standards.pmod/IDNA.pmod
with
7 additions
and
7 deletions
lib/modules/Standards.pmod/IDNA.pmod
+
7
−
7
View file @
c01fda67
#pike __REAL_VERSION__
#pike __REAL_VERSION__
//! This module implements various algorithms specified by
//! This module implements various algorithms specified by
//! the Internationalizing Domain Names in Applications (IDNA)
drafts
by
//! the Internationalizing Domain Names in Applications (IDNA)
memo
by
//! the Internet Engineering Task Force (IETF), see
//! the Internet Engineering Task Force (IETF), see
//! @url{
ht
tp://
www.ietf.org/internet-drafts/draft-ietf-idn-idna-14
.txt@}.
//! @url{
f
tp://
ftp.rfc-editor.org/in-notes/rfc3490
.txt@}.
//! Punycode transcoder, see
//! Punycode transcoder, see
//! @url{
ht
tp://
www.ietf.org/internet-drafts/draft-ietf-idn-punycode-03
.txt@}.
//! @url{
f
tp://
ftp.rfc-editor.org/in-notes/rfc3492
.txt@}.
//! Punycode is used by [to_ascii] as an "ASCII Compatible Encoding" when
//! Punycode is used by
@
[to_ascii] as an "ASCII Compatible Encoding" when
//! needed.
//! needed.
object Punycode = class {
object Punycode = class {
...
@@ -299,7 +299,7 @@ static constant stringprep_casefold_dest =
...
@@ -299,7 +299,7 @@ static constant stringprep_casefold_dest =
//! Prepare a Unicode string for ACE transcoding. Used by [to_ascii].
//! Prepare a Unicode string for ACE transcoding. Used by
@
[to_ascii].
//! Nameprep is a profile of Stringprep, which is described in RFC 3454.
//! Nameprep is a profile of Stringprep, which is described in RFC 3454.
//!
//!
//! @param s
//! @param s
...
@@ -428,7 +428,7 @@ string to_unicode(string s)
...
@@ -428,7 +428,7 @@ string to_unicode(string s)
//! Takes a sequence of labels separated by '.' and applies
//! Takes a sequence of labels separated by '.' and applies
//! [to_ascii] on each.
//!
@
[to_ascii] on each.
string zone_to_ascii(string s, int(0..1)|void allow_unassigned,
string zone_to_ascii(string s, int(0..1)|void allow_unassigned,
int(0..1)|void use_std3_ascii_rules)
int(0..1)|void use_std3_ascii_rules)
{
{
...
@@ -437,7 +437,7 @@ string zone_to_ascii(string s, int(0..1)|void allow_unassigned,
...
@@ -437,7 +437,7 @@ string zone_to_ascii(string s, int(0..1)|void allow_unassigned,
//! Takes a sequence of labels separated by '.' and applies
//! Takes a sequence of labels separated by '.' and applies
//! [to_unicode] on each.
//!
@
[to_unicode] on each.
string zone_to_unicode(string s)
string zone_to_unicode(string s)
{
{
return to_unicode((s/".")[*])*".";
return to_unicode((s/".")[*])*".";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment