Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions changelog/unicode-16.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
std.uni has been upgraded from Unicode 15.1.0 to 16.0.0

This Unicode update was released September 10, 2024, and adds new blocks with characters.
See: https://www.unicode.org/versions/Unicode16.0.0/

```
import std;

void main()
{
const alphaCount = iota(0, dchar.max).filter!(std.uni.isAlpha).walkLength;
writeln(alphaCount);
// formerly: 138387
// now: 142759
}
```
352 changes: 246 additions & 106 deletions std/internal/unicode_comp.d

Large diffs are not rendered by default.

2,526 changes: 1,312 additions & 1,214 deletions std/internal/unicode_decomp.d

Large diffs are not rendered by default.

298 changes: 150 additions & 148 deletions std/internal/unicode_grapheme.d

Large diffs are not rendered by default.

618 changes: 322 additions & 296 deletions std/internal/unicode_norm.d

Large diffs are not rendered by default.

8,775 changes: 4,471 additions & 4,304 deletions std/internal/unicode_tables.d

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tools/unicode_table_generator.d
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ module std.unicode_table_generator;
// this shouldn't be in std package, but stuff is package'd as that in std.uni.

/// Directory in which unicode files are downloaded
enum unicodeDir = "ucd-15-1-0/";
enum unicodeDir = "ucd-16-0-0/";

/// Url from which unicode files are downloaded
enum unicodeBaseUrl = "https://www.unicode.org/Public/15.1.0/ucd/";
enum unicodeBaseUrl = "https://www.unicode.org/Public/16.0.0/ucd/";

/// Where to put generated files
enum outputDir = "../std/internal/";
Expand Down
Loading