Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated to utf8proc v2.0.1, gives support for Unicode 9 #17402

Merged
merged 5 commits into from
Jul 14, 2016

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Jul 13, 2016

utf8proc was recently updated to support Unicode 9, and we had to tag a new release of utf8proc anyway because the old version's tests were failing due to its out-of-date Unicode tables (JuliaStrings/utf8proc#72).

It seems like a good thing to bump the version in Julia 0.5, so that we get Unicode-9 support (and other improvements, like much smaller Unicode tables).

@stevengj
Copy link
Member Author

cc @Keno

@stevengj stevengj added the unicode Related to unicode characters and encodings label Jul 13, 2016
@stevengj stevengj added this to the 0.5.0 milestone Jul 13, 2016
@Keno
Copy link
Member

Keno commented Jul 13, 2016

LGTM assuming CI passes.

UTF8PROC_BRANCH=v1.3
UTF8PROC_SHA1=85789180158ac7fff85b9f008828d6ac44f072ea
UTF8PROC_BRANCH=v2.0.1
UTF8PROC_SHA1=a1fe9955bbc75ffb923c1219bf58befd2688e34c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the checksums

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I always forget about these. Is there a make target to automatically create the new checksum?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should happen automatically in configure-utf8proc or one of those, as long as you aren't downloading it in git mode (which is not the default any more)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, got it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and delete the old ones

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@stevengj
Copy link
Member Author

stevengj commented Jul 13, 2016

Thanks to Unicode 9, we will now be able to properly name our "John Travolta" variables
image
but we still can't use a superscript q.

@tkelman
Copy link
Contributor

tkelman commented Jul 14, 2016

osx failure was a libgit2 issue because i got impatient merging a different pr

@tkelman tkelman merged commit b7abcd2 into JuliaLang:master Jul 14, 2016
@stevengj stevengj deleted the utf8proc-2 branch July 14, 2016 15:55
c0 = c
end
return n
end

start(g::GraphemeIterator) = start(g.s)
done(g::GraphemeIterator, i) = done(g.s, i)
start(g::GraphemeIterator) = (start(g.s), Ref{Int32}(0))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this change broke StringDistances.jl, cc @matthieugomez http://pkg.julialang.org/logs/StringDistances_0.5.log

Copy link
Member Author

@stevengj stevengj Jul 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not a good idea not to rely on the contents of iterators, though a lot of packages use Julia internals from time to time. (Even for strings, the iterator may cease to be an integer someday: #9297.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up. I'll update the package once the release candidate for Julia 0.5 is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unicode Related to unicode characters and encodings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants