Skip to content

use normative source for Grapheme class data#24132

Merged
bors merged 1 commit into
rust-lang:masterfrom
kwantam:master
Apr 7, 2015
Merged

use normative source for Grapheme class data#24132
bors merged 1 commit into
rust-lang:masterfrom
kwantam:master

Conversation

@kwantam

@kwantam kwantam commented Apr 6, 2015

Copy link
Copy Markdown
Contributor

@mahkoh points out in #15628 that unicode.py does not use
normative data for Grapheme classes. This pr fixes that issue,
and does some minor cleanup of the unicode.py script.

In addition, GC_RegionalIndicator is renamed GC_Regional_Indicator
in order to stay in line with the Unicode class name definitions.
I have updated refs in u_str.rs, and verified that there are no
refs elsewhere in the codebase. However, in principle someone
using the unicode tables for their own purposes might see breakage
from this.

@mahkoh points out in rust-lang#15628 that unicode.py does not use
normative data for Grapheme classes. This pr fixes that issue.

In addition, GC_RegionalIndicator is renamed GC_Regional_Indicator
in order to stay in line with the Unicode class name definitions.
I have updated refs in u_str.rs, and verified that there are no
refs elsewhere in the codebase. However, in principle someone
using the unicode tables for their own purposes might see breakage
from this.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@kwantam

kwantam commented Apr 6, 2015

Copy link
Copy Markdown
Contributor Author

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned aturon Apr 6, 2015
@kwantam

kwantam commented Apr 6, 2015

Copy link
Copy Markdown
Contributor Author

Regarding the change from GC_RegionalIndicator to GC_Regional_Indicator,
this is easily reverted if there is concern about random breakage in other people's
code. I kind of doubt such breakage is likely, and to me it seems neater to make our
terminology follow Unicode's as much as possible. (And, of course, libunicode
is marked unstable for now anyway!)

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+ bef00ab

Thanks!

@bors

bors commented Apr 7, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit bef00ab with merge ebba920...

Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 7, 2015
@mahkoh points out in rust-lang#15628 that unicode.py does not use
normative data for Grapheme classes. This pr fixes that issue,
and does some minor cleanup of the unicode.py script.

In addition, GC_RegionalIndicator is renamed GC_Regional_Indicator
in order to stay in line with the Unicode class name definitions.
I have updated refs in u_str.rs, and verified that there are no
refs elsewhere in the codebase. However, in principle someone
using the unicode tables for their own purposes might see breakage
from this.
@bors

bors commented Apr 7, 2015

Copy link
Copy Markdown
Collaborator

⛄ The build was interrupted to prioritize another pull request.

bors added a commit that referenced this pull request Apr 7, 2015
@bors bors merged commit bef00ab into rust-lang:master Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants