Skip to content

Commit

Permalink
Merge pull request #7 from JuliaString/spj/ordinals
Browse files Browse the repository at this point in the history
Fix classification of Latin-1 male/female ordinals
  • Loading branch information
ScottPJones committed Nov 11, 2020
2 parents 600b659 + 44b213f commit 0a436e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
28 changes: 0 additions & 28 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
---
kind: pipeline
name: linux - arm - Julia 1.0

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.0
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.0

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.0
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.5
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ keywords = ["Characters"]
license = "MIT"
desc = "Basic functionality for Chr type"
authors = ["ScottPJones <scottjones@alum.mit.edu>"]
version = "1.0.1"
version = "1.0.2"

[deps]
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
Expand All @@ -22,7 +22,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
test = ["Test"]

[compat]
julia = "^1.0.0"
julia = "1"
ModuleInterfaceTools = "1"
StrAPI = "1"
CharSetEncodings = "1"
4 changes: 2 additions & 2 deletions src/unicode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ const _isnumeric_a = _isdigit
@inline _isnumeric_l(ch) = (ch <= 0xbe && ((1<<(ch-0xb2)) & 0x1c83) != 0)
@inline _ispunct_l(ch) = ((UInt64(1) << (ch-0x80)) & 0x88c0_0882_0000_0000) != 0
@inline _isspace_l(ch) = (ch == 0x85) | (ch == 0xa0)
@inline _isalpha_l(c) = ((0xc0 <= c <= 0xff) & (c != 0xf7) & (c != 0xd7)) | (c == 0xb5)
@inline _isalnum_l(c) = _isalpha_l(c) || _isnumeric_l(c)
@inline _isalpha_l(ch) = ((0xff7f_ffff_ff7f_ffff_0420_0400_0000_0000 >>> (ch-0x80)) & 1) != 0
@inline _isalnum_l(ch) = _isalpha_l(ch) || _isnumeric_l(ch)
@inline _isprint_l(ch) = ((0xa0 <= ch <= 0xff) & (ch != 0xad))
@inline _isgraph_l(ch) = ((0xa0 < ch <= 0xff) & (ch != 0xad))

Expand Down

2 comments on commit 0a436e9

@ScottPJones
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator() register

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/24452

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.2 -m "<description of version>" 0a436e9b1e6ef9b153611e262129856ff0c185bb
git push origin v1.0.2

Please sign in to comment.