History log of /dragonfly/usr.bin/localedef/scanner.c (Results 1 – 6 of 6)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0
# d50f9ae3 27-Sep-2020 Sascha Wildner <saw@online.de>

world: Staticize various variables and also remove a couple of unused ones.


Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 5e83d98b 26-Oct-2019 Sascha Wildner <saw@online.de>

usr.bin/usr.sbin: Use NULL for pointers.


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# 6d08986d 06-Jan-2018 Sascha Wildner <saw@online.de>

Add __attribute__((__noreturn__)) to various function prototypes in usr.bin/.

This general cleanup is useful in various ways. It helps the compiler
optimize better and it also helps later GCCs detec

Add __attribute__((__noreturn__)) to various function prototypes in usr.bin/.

This general cleanup is useful in various ways. It helps the compiler
optimize better and it also helps later GCCs detect better when to give
-Wimplicit-fallthrough warnings and when not.

Found-with: -Wsuggest-attribute=noreturn

show more ...


# a72de5ad 31-Dec-2017 Sascha Wildner <saw@online.de>

localedef(1): Add some __printflike.


Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1
# 8aa2b98b 29-Jul-2015 John Marino <draco@marino.st>

localedef(1): Update license of 12 source files (CDDL => BSD2)

The localdef sources were relicensed to 2-clause BSD by Illumos project
on 4 July 2014:

https://github.com/Nexenta/illumos-nexenta/com

localedef(1): Update license of 12 source files (CDDL => BSD2)

The localdef sources were relicensed to 2-clause BSD by Illumos project
on 4 July 2014:

https://github.com/Nexenta/illumos-nexenta/commit/cf17542a37fc83d0ae093777e30d480423858c29

It was done for the benefit of the BSD community. It is a nice gesture,
but I don't see this being much of a change.

1) The bundled avl files are still CDDL licensed, so that may spread to
the entire program.

2) Even as CDDL, I didn't see this being an issue since localedef is
self-contained so CDDL is limited to it. (IANAL)

show more ...


# cd1c6085 28-Jul-2015 John Marino <draco@marino.st>

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,

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.

The last 4 of those aren't needed. We already have a tool that generates
msgdef, timedef, moneydef and numericdef. In the immediate future,
localedef will only be used generate LC_COLLATE files in a new format.
This will render colldef files unreadable, thus colldef will be removed
when this happens.

In the future, localedef will be tasked to generate LC_CTYPE files as
well. When that happens, the mklocale tool will be retired.

While localedef *can* read pristine POSIX files (which causes 6 files
to be generated), it will given files with only the LC_COLLATE part,
which will also have all the white space removed as well. Remove just
the spaces can save megabytes.

This tool has a long history with Solaris [1]. 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 "DragonFly-4.4") 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. Our "BSD" sort is not locale
sensitive, so it will probably have to be replaced with GNU sort in order
to leverage our new collation capabilities.

This can't be hooked into the build yet. It needs the new header for
collate.c to define the data structures. Until that happens, this is
actually unbuildable.

[1] Linux also has a tool called localdef, but I do know know if it shares
a common history or if it uses CLDR POSIX files. It seems to have the
same purpose though.

show more ...