tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 769650ddc633b1b618360ac56689c40c70366bb1
parent 07f3b8e02009210b5f39bdadfc721cb693747ff4
Author: André Bargull <andre.bargull@gmail.com>
Date:   Tue, 25 Nov 2025 15:19:39 +0000

Bug 2000225 - Part 13.a: Update Unicode data extraction scripts. r=jfkthame

- Update "genUnicodePropertyData.pl" to generate smaller `sCharProp2Values` table.
- Update "genSpecialCasingData.pl" to sync with manual changes to clean-up includes.

Differential Revision: https://phabricator.services.mozilla.com/D273844

Diffstat:
Mintl/unicharutil/tools/genSpecialCasingData.pl | 2+-
Mintl/unicharutil/tools/genUnicodePropertyData.pl | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/intl/unicharutil/tools/genSpecialCasingData.pl b/intl/unicharutil/tools/genSpecialCasingData.pl @@ -83,8 +83,8 @@ print <<__END__; by genSpecialCasingData.pl - do not edit! */ #include "nsSpecialCasingData.h" -#include "mozilla/ArrayUtils.h" // for ArrayLength #include <stdlib.h> // for bsearch +#include <array> // for std::size __END__ map { print "/* $_ */\n" } @headerLines; diff --git a/intl/unicharutil/tools/genUnicodePropertyData.pl b/intl/unicharutil/tools/genUnicodePropertyData.pl @@ -310,7 +310,7 @@ sub sprintCharProps2_short return sprintf("{%d},", $idtype[$usv]); } -&genTables("CharProp2", "", "nsCharProps2", 9, 7, \&sprintCharProps2_short, 16, 1, 1); +&genTables("CharProp2", "", "nsCharProps2", 11, 5, \&sprintCharProps2_short, 16, 1, 1); sub sprintHanVariants {