History log of /freebsd-current/usr.bin/localedef/charmap.c
Revision Date Author Comments
# 5e3934b1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 3a7ffe20 02-Sep-2023 Kyle Evans <kevans@FreeBSD.org>

localedef: expand the default charmap

POSIX defines a number of other control characters as well as
alternative aliases for some that should be provided in the default set,
so let's go ahead and add those.

Reviewed by: bapt, yuripv
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D41692


# 07bc20e4 01-Sep-2023 Kyle Evans <kevans@FreeBSD.org>

localedef: correct definition of right-parenthesis in default charmap

It turns out that right parentheses do exist and are different than
left parentheses, so let's switch to that.

Sponsored by: Klara, Inc.


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# add14e43 09-Jul-2018 Pedro F. Giffuni <pfg@FreeBSD.org>

localedef(1): remove duplicated includes.

Hinted by: DragonFlyBSD


# e12a957f 10-Mar-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

localedef(1): Add comment markings for license.


# fcc7baa1 01-May-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

localedef(1): minor spelling fixes on comments.

No functional change.


# 8c859b07 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Fix build of localedef(1) on arm where wchar_t is an unsigned int


# a0e395a4 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Use const where needed instead of using pragmas to work around the warnings


# 3a444dbd 08-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Convert localedef(1) from avl to RB trees


# 057ca2d4 07-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Add localedef(1), a locale definition generator tool

The localedef tool can read entire (and unmodified) CLDR posix definition
files, and generate all 6 LC categories: LC_COLLATE, LC_CTYPE, LC_TIME,
LC_NUMERIC, LC_MONETARY and LC_MESSAGES.

This tool has a long history with Solaris. The Nexenta developers
modified it to read CLDR files and created the much richer collation
formats. The libc collation functions have to be modified to read the
new format (called "BSD-1.0") and to handle the new data structures.

The result will be that locale-sensitive tools and functions will now
properly sort multibyte and unicode strings.

Obtained from: Dragonfly