diff --git a/.drone.yml b/.drone.yml index 12c4626..4934ddb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ --- kind: pipeline -name: linux - arm64 - Julia 1.6 +name: linux - arm64 - Julia 1.10 platform: os: linux @@ -8,13 +8,13 @@ platform: steps: - name: build - image: julia:1.6 + image: julia:1.10 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.9 +name: linux - arm64 - Julia 1.11 platform: os: linux @@ -22,6 +22,6 @@ platform: steps: - name: build - image: julia:1.9 + image: julia:1.11 commands: - "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70b34ad..08f772b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' - - '1.9' + - '1.10' - 'nightly' os: - ubuntu-latest @@ -29,7 +28,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v4 env: cache-name: cache-artifacts with: diff --git a/Project.toml b/Project.toml index a5e3563..23107b6 100644 --- a/Project.toml +++ b/Project.toml @@ -4,9 +4,10 @@ keywords = ["Entities", "Unicode"] license = "MIT" name = "Unicode_Entities" uuid = "a8aa15d3-c567-5e9f-b6cc-4b0f97f09cf7" -version = "1.3.0" +version = "1.4.0" [deps] +RelocatableFolders = "05181044-ff0b-4ac5-8273-598c1e38db00" StrTables = "9700d1a9-a7c8-5760-9816-a99fda30bb8f" [extras] @@ -16,5 +17,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" test = ["Test"] [compat] -julia = "1" +RelocatableFolders = "1" StrTables = "1" +julia = "1.10" diff --git a/README.md b/README.md index 6a8d1c0..426b46e 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,4 @@ and finding all of the Unicode name completions for a particular string, if any. Version 1.1.x is based on Unicode version 13.0.0 Version 1.2.x is based on Unicode version 14.0.0 Version 1.3.x is based on Unicode version 15.1.0 +Version 1.4.x is based on Unicode version 16.0.0 \ No newline at end of file diff --git a/data/unicode.dat b/data/unicode.dat index b14d0cf..f86a31c 100644 Binary files a/data/unicode.dat and b/data/unicode.dat differ diff --git a/src/Unicode_Entities.jl b/src/Unicode_Entities.jl index add9edb..f53177f 100644 --- a/src/Unicode_Entities.jl +++ b/src/Unicode_Entities.jl @@ -13,7 +13,7 @@ __precompile__() """ module Unicode_Entities -using StrTables +using StrTables, RelocatableFolders VER = UInt32(1) @@ -40,9 +40,10 @@ struct Unicode_Table{T} <: AbstractEntityTable ind32::Vector{UInt16} end +const DATA_PATH = @path joinpath(@__DIR__, "../data", "unicode.dat") + function __init__() - (ver, tim, inf, base32, nam, ind, wrd1, wrd2, val16, ind16, val32, ind32) = - StrTables.load(joinpath(@__DIR__, "../data/unicode.dat")) + (ver, tim, inf, base32, nam, ind, wrd1, wrd2, val16, ind16, val32, ind32) = StrTables.load(DATA_PATH) global default = Unicode_Table(ver, tim, inf, base32, PackedNames(nam.offsetvec, nam.namtab, wrd1, wrd2), ind, val16, ind16, val32, ind32)