History log of /freebsd-10.0-release/usr.bin/mklocale/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


250926 23-May-2013 jkim

Work around build breakages with GCC 4.2.

Reported by: tinderbox


249657 19-Apr-2013 ed

Add the Clang specific -Wmissing-variable-declarations to WARNS=6.

This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.

Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.

Announced on: toolchain@


235789 22-May-2012 bapt

Fix world after byacc import:
- old yacc(1) use to magicially append stdlib.h, while new one don't
- new yacc(1) do declare yyparse by itself, fix redundant declaration of
'yyparse'

Approved by: des (mentor)


235400 13-May-2012 joel

Minor mdoc nits.


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


201227 29-Dec-2009 ed

ANSIfy almost all applications that use WARNS=6.

I was considering committing all these patches one by one, but as
discussed with brooks@, there is no need to do this. If we ever
need/want to merge these changes back, it is still possible to do this
per application.


200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


195676 14-Jul-2009 ed

Make mklocale work again, now that fwrite()'s return codes are different.

Submitted by: Navdeep Parhar <nparhar gmail com>
Approved by: re (kib)


175556 22-Jan-2008 ache

Understand newly introduced "ASCII" encoding


173421 07-Nov-2007 rafan

- Include runefile.h for _CACHED_RUNES


172261 21-Sep-2007 kevlo

Use NULL instead of 0 for the return value of fopen().

Approved by: re (kensmith)


166529 06-Feb-2007 kevlo

getopt(3) returns -1, not EOF.


146261 16-May-2005 ru

Make <runefile.h> internal to libc.

Suggested by: phantom


142582 26-Feb-2005 ru

Make the format of LC_CTYPE files architecture independent by
introducing the disk formats for _RuneLocale and friends.

The disk formats do not have (useless) pointers and have 32-bit
quantities instead of rune_t and long. (htonl(3) only works
with 32-bit quantities, so there's no loss).

Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x
would be trivial (verified), but we no longer provide pre-5.3
source upgrades and this is the first commit to actually break
it.)


140568 21-Jan-2005 ru

Fixed xref.


140420 18-Jan-2005 ru

Sort sections.


136609 17-Oct-2004 tjr

Remove the obsolete <rune.h> interface.


136605 17-Oct-2004 tjr

Use <runetype.h> instead of <rune.h> since the latter is going away.


136602 17-Oct-2004 tjr

Remove explicit support for generating LC_CTYPE data files that specify
the obsolete "UTF2" encoding.


134109 21-Aug-2004 tjr

The UTF2 encoding and the INVALID keyword are now obsolete.


131507 03-Jul-2004 ru

Deal with double whitespace.


131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


130961 23-Jun-2004 tjr

Prefix the names of members of _RuneLocale and its sub-structures
with ``__'' to avoid polluting the namespace. This doesn't change the
documented rune interface at all, but breaks applications that accessed
_RuneLocale directly.


124878 23-Jan-2004 tjr

Fix section number in cross reference.


122731 15-Nov-2003 tjr

Update cross references after utf2/euc move.


122289 08-Nov-2003 tjr

Add GB2312 to the list of supported encodings. Cross-reference gb2312(5).


122145 05-Nov-2003 davidxu

Add gb2312 encoding.


119776 05-Sep-2003 tjr

#include <runetype.h> directly for the definition of _CACHED_RUNES, needed
by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>.

Noticed by: Stefan Farfeleder


118727 10-Aug-2003 tjr

Add GB18030 and GBK to the list of encodings. Cross-reference the
new manual pages for the Big5, GB18030, GBK, and MSKanji encodings.


118147 29-Jul-2003 ache

Allow GB18030 locale


116502 17-Jun-2003 charnier

Bump WARNS to 6. Add usage(). Use provided xmalloc() instead of malloc().
Use err().


115776 03-Jun-2003 ache

Change fatal to warnx() for unknown encoding


115722 02-Jun-2003 ache

Hardcore supported encodings list


108317 27-Dec-2002 schweikh

english(4) police.


108158 21-Dec-2002 tjr

Mark the INVALID keyword as being deprecated since the concept of
"invalid runes" is useless without the rest of the deprecated rune interface.


107276 26-Nov-2002 ru

mdoc(7) police: markup polishing.

Approved by: re


105589 20-Oct-2002 ache

Use more verbose diagnostics for wrong DIGIT range


105548 20-Oct-2002 ache

Add checks for DIGIT set consistency to prevent common misinterpretation
automatically.
Remove output file on error.
Staticize functions declared as static.


105072 14-Oct-2002 tjr

Add Big5, MSKanji and UTF-8 to the list of supported encodings.
Mark UTF2 as being deprecated.


102186 20-Aug-2002 ache

Document SWIDTH*


101986 16-Aug-2002 keichii

Add swidth definitions and lex code to mklocale
After adding swidth support in iswctype.c and ctype.h

Submitted by: clkao@clkao.org
Reviewed by: keichii,ache
Obtained from: NetBSD
MFC after: 1 month


99984 14-Jul-2002 alfred

WARNS=4


99982 14-Jul-2002 alfred

WARNS=2, de-__P()


95643 28-Apr-2002 markm

Declarations cleanup; make sure externs are in a common header.
Fix declarations, casts and return values.


95258 22-Apr-2002 des

Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.


90868 18-Feb-2002 mike

o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on: alpha, i386
Reviewed by: bde, jake, tmm


81606 13-Aug-2001 peter

Initialize fp in main()


79755 15-Jul-2001 dd

Remove whitespace at EOL.


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


69640 05-Dec-2000 obrien

Change the spelling of `.' to `.' from .OBJDIR since `.' really is where
generated files land. Also give precedence to generated files.


69489 01-Dec-2000 obrien

Grrr... GCC 2.95.2 and 2.96 just will not agree what the default include
search paths are. So add the requirements of both. :-(


69453 01-Dec-2000 obrien

The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


57035 08-Feb-2000 obrien

There is a problem in that one cannot use ctype.h at the same time as parts
of the C++ stdlib. Our ctype.h uses symbols of the form _<X> to denote the
various character classes. Our ctype.h also extends the usual ctype.h
offering by adding the "_T" (special) class. Problem is parts of the STL
also use the symbol "_T" as its parameterized type. These two uses are
incompatible.

Thus change the form of the symbols used in ctype to something that fixes
the current problem and is less likely to cause conflicts in the future.

Requested by: Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp>
Ok'ed by: JKH


54740 17-Dec-1999 phantom

Document -d and -o flags
Remove selfreference item from SEE ALSO section
Add reference to colldef(1) to SEE ALSO section


52380 18-Oct-1999 ache

moved to share


52332 17-Oct-1999 ache

Move data to share


52311 16-Oct-1999 jkh

sync with earlier change removing broken locale.


51889 03-Oct-1999 ache

ISO8859-5 locale

Submitted by: Nikolai Saoukh <nms@ethereal.ru>


51457 20-Sep-1999 phantom

Correct spelling : ascii -> ASCII

PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


47831 08-Jun-1999 foxfair

Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
app happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>


47746 05-Jun-1999 julian

Support the IANA definition of Shift Jis nameley ja_JP.Shift_JIS
as well as the X11 version ja_JP.SJIS


45219 01-Apr-1999 ache

fix sign extension bug

Submitted by: Nikolai Saoukh <nms@ethereal.ru>


41760 14-Dec-1998 dillon

Added support for DIS 8859-15 based locales using patch
from Kaleb.

Obtained from: Kaleb Keithley <kaleb@ics.com>


38333 15-Aug-1998 phk

I have added the support for BIG5 encoding into libc/libxpg4/mklocale.
the diff is attached below. This is done on the 3.0 source-tree.
I have test this on 2.2-stable before, but I don't have a 3.0 machine
right now.

This patch is mainly to make libc support BIG5 encoding, thus add
zh_TW.BIG5 locale to 3.0.

Submitted by: Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>


38332 15-Aug-1998 phk

Remove half the file, somehow it got doubled...


38221 10-Aug-1998 phk

I have been running with these locale data for a while now and
I hope some other people might find them useful. They are for
zh_CN.EUC (GB) only. I'm not familiar with the BIG5 encoding,
so I could only hope someone else would fill the gap.

PR: 7310
Submitted by: Luoqi Chen <luoqi@chen.ml.org>


38168 07-Aug-1998 ache

add Hungarian ctype


38022 02-Aug-1998 bde

Fixed printf format errors.


37481 07-Jul-1998 bde

Use the installed version of mklocale for `make all'. It is now
bootstrapped by `make world'. The version just built in ".."
normally won't work if the target system is not binary compatible.

Don't build or install anything if _BUILD_TOOLS is defined. Then
we only want to build and install the mklocale binary, but the layout
of the mklocale tree forces recursing to mklocale/data for at least
the obj target even when _BUILD_TOOLS is defined.


35745 05-May-1998 bde

Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated. It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.


35708 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules.


33648 20-Feb-1998 jb

Add #include <string.h> to get prototypes.


31026 07-Nov-1997 ache

Add Slovene link


31024 07-Nov-1997 ache

Add link to Polish locale


29818 24-Sep-1997 julian

Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)


27369 13-Jul-1997 peter

kill the undead


27242 06-Jul-1997 bde

This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.


26826 23-Jun-1997 steve

Show the real revision date and not the date that this
manpage is being viewed.


24789 10-Apr-1997 bde

Fixed bogus existence check related to searching for a nearby obj directory.
Now the search is as incomplete as elsewhere instead of broken.


24267 25-Mar-1997 ache

Add fake codesets 3 & 4
Submitted by: junker@jazz.snu.ac.kr


23834 13-Mar-1997 ache

Update Korean locale

Should go into 2.2


23224 28-Feb-1997 adam

minor nit


23222 28-Feb-1997 wosch

Add lt_LN.ISO_8859-2.src.
Use '.for' loop from make(1), not sh(1) 'for' loops.

Submitted by: Slaven ReziƦ (TomiƦ) <eserte@cs.tu-berlin.de>


23024 22-Feb-1997 ache

Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21549 11-Jan-1997 mpp

Add a couple of xrefs.


21393 07-Jan-1997 ache

Fix bugs in runes data handling

Should go into 2.2
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>


17711 20-Aug-1996 ache

Fix non-break space attrs


16663 24-Jun-1996 jkh

Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.


16073 02-Jun-1996 phk

Backout yacc changes.


16017 30-May-1996 phk

yacc rules change.


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


13122 30-Dec-1995 peter

recording cvs-1.6 file death


12030 03-Nov-1995 ache

Add $id$ and ${COPY}


12029 03-Nov-1995 ache

Cleanup make process per Bruce suggestions


11868 28-Oct-1995 ache

Add strict 7bit ASCII locale


11638 22-Oct-1995 ache

Link LC_CTYPE inside dirs instead of dirs linking


11516 15-Oct-1995 ache

Fix ALPHA range


11513 15-Oct-1995 ache

Various fixes mostly for letters range
Obtained from: partially from Kaleb S. Keithley <kaleb@x.org> patch


11508 15-Oct-1995 ache

XDIGIT range fixed. This change is cosmetique and not affect anyone,
because ASCII locale used for isdigit and isxdigit in any case.


9248 17-Jun-1995 ache

Rename ISO8859-1 to ISO_8859-1 per RFC1700


8186 30-Apr-1995 ache

Add yet one popular russian code table


6040 30-Jan-1995 ache

Fix owner/mode for installed data


6039 30-Jan-1995 ache

Remove creating dirs & symlinks, it is done by mtree now


5015 08-Dec-1994 ache

Remove links before creating them


4972 04-Dec-1994 ache

Remove iso8859-1 to proper name


4971 04-Dec-1994 ache

Dig out full locale names set for ISO8859-1 (great success!)


4970 04-Dec-1994 ache

Found at least one proper name for ISO8859-1 locale,
still need more names


4969 04-Dec-1994 ache

Comment out iso88591 installation until proper name set will be found
(see README.locale_name). Please, anybody tell me language set
and countries set described in iso88591 to produce proper name set.


4965 04-Dec-1994 ache

Add quick description of rules how to build locale name,
f.e. iso_8859_1 name is completely incorrect


4958 04-Dec-1994 ache

Fix encoding scheme UTF2 --> None


4957 04-Dec-1994 ache

Reorganize data to not mess with sources


4956 04-Dec-1994 ache

Fix wrong encoding scheme UTF2 --> NONE


4954 04-Dec-1994 jkh

Install Kaleb's iso_8859_1 by default.


4953 04-Dec-1994 jkh

From: Kaleb Keithley <kaleb@x.org>
Here's something that should be a big selling point for European users.
Note that Linux still doesn't support anything other than the POSIX locale.
This is a superset of the POSIX locale with support for all the accented
characters. You need this to do compose processing in XFree86 3.x. I'm
using this on my 1.1.5.1 system. Don't know whether it works on 2.0, but
can't think of any reason why it wouldn't.

Submitted by: kaleb


2509 05-Sep-1994 bde

u_long -> unsigned long so that we don't depend on namespace pollution
in <stdio.h>.


2474 03-Sep-1994 ache

Add and properly install locales


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.