Commit Graph

141 Commits

Author SHA1 Message Date
Tim J. Robbins
148f804340 Mark the INVALID keyword as being deprecated since the concept of
"invalid runes" is useless without the rest of the deprecated rune interface.
2002-12-21 11:37:05 +00:00
Ruslan Ermilov
06e482e60a mdoc(7) police: markup polishing.
Approved by:	re
2002-11-26 17:33:37 +00:00
Andrey A. Chernov
72d26fe4c9 Use more verbose diagnostics for wrong DIGIT range 2002-10-20 23:09:26 +00:00
Andrey A. Chernov
4bcccb2ebd Add checks for DIGIT set consistency to prevent common misinterpretation
automatically.
Remove output file on error.
Staticize functions declared as static.
2002-10-20 19:56:15 +00:00
Tim J. Robbins
b5513cdbda Add Big5, MSKanji and UTF-8 to the list of supported encodings.
Mark UTF2 as being deprecated.
2002-10-14 00:45:51 +00:00
Andrey A. Chernov
8011a282e0 Document SWIDTH* 2002-08-20 15:19:34 +00:00
Michael C . Wu
ff9c912816 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
2002-08-16 13:46:43 +00:00
Alfred Perlstein
da8de1e204 WARNS=4 2002-07-14 18:23:22 +00:00
Alfred Perlstein
12c9f2fd76 WARNS=2, de-__P() 2002-07-14 18:16:06 +00:00
Mark Murray
046f5106a7 Declarations cleanup; make sure externs are in a common header.
Fix declarations, casts and return values.
2002-04-28 12:34:54 +00:00
Dag-Erling Smørgrav
d397408818 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}/.
2002-04-22 13:44:47 +00:00
Mike Barcroft
fd8e4ebc8c 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
2002-02-18 20:35:27 +00:00
Peter Wemm
ec26f57025 Initialize fp in main() 2001-08-13 21:57:12 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov
dc12be5258 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
David E. O'Brien
a8e642f574 Change the spelling of .' to .' from .OBJDIR since `.' really is where
generated files land.  Also give precedence to generated files.
2000-12-05 22:10:43 +00:00
David E. O'Brien
1ab84b3fc7 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. :-(
2000-12-01 19:36:17 +00:00
David E. O'Brien
2c5569d6ff 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.".
2000-12-01 09:39:28 +00:00
Ruslan Ermilov
8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
David E. O'Brien
f506ed7467 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
2000-02-08 07:43:26 +00:00
Alexey Zelkin
db7fa4b8d5 Document -d and -o flags
Remove selfreference item from SEE ALSO section
Add reference to colldef(1) to SEE ALSO section
1999-12-17 14:34:02 +00:00
Andrey A. Chernov
773fbe7c8b moved to share 1999-10-18 13:47:02 +00:00
Andrey A. Chernov
76cef6f6c2 Move data to share 1999-10-17 13:44:48 +00:00
Jordan K. Hubbard
5c4dffb899 sync with earlier change removing broken locale. 1999-10-16 12:49:33 +00:00
Andrey A. Chernov
3eefc574c3 ISO8859-5 locale
Submitted by:	 Nikolai Saoukh <nms@ethereal.ru>
1999-10-03 00:56:29 +00:00
Alexey Zelkin
c6d6e7726f Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce 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
1999-07-12 20:24:20 +00:00
Foxfair Hu
c6570d1dc3 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>
1999-06-08 02:25:19 +00:00
Julian Elischer
8759eb5c80 Support the IANA definition of Shift Jis nameley ja_JP.Shift_JIS
as well as the X11 version ja_JP.SJIS
1999-06-05 03:04:03 +00:00
Andrey A. Chernov
f5d59814ac fix sign extension bug
Submitted by: Nikolai Saoukh <nms@ethereal.ru>
1999-04-01 10:22:48 +00:00
Matthew Dillon
ad7847141f Added support for DIS 8859-15 based locales using patch
from Kaleb.

Obtained from: Kaleb Keithley <kaleb@ics.com>
1998-12-14 02:59:15 +00:00
Poul-Henning Kamp
7a55a3c230 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>
1998-08-15 12:51:49 +00:00
Poul-Henning Kamp
15160dd67b Remove half the file, somehow it got doubled... 1998-08-15 12:36:50 +00:00
Poul-Henning Kamp
da52a1bae1 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>
1998-08-10 09:49:42 +00:00
Andrey A. Chernov
7a37f336e3 add Hungarian ctype 1998-08-07 17:07:12 +00:00
Bruce Evans
c513aafea1 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
Bruce Evans
42ff1492ee 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.
1998-07-07 23:05:59 +00:00
Bruce Evans
de1d4a81ee 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.
1998-05-05 13:16:35 +00:00
Bruce Evans
b681d90662 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00
John Birrell
32744e40cd Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
Andrey A. Chernov
6f0f590fa6 Add Slovene link 1997-11-07 15:40:55 +00:00
Andrey A. Chernov
b20b4fc61c Add link to Polish locale 1997-11-07 15:27:12 +00:00
Julian Elischer
16f76e6f06 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)
1997-09-24 20:38:12 +00:00
Peter Wemm
65b3003d2d kill the undead 1997-07-13 14:26:00 +00:00
Bruce Evans
aac7bd5670 This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
Bruce Evans
c44252b6e8 Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
Steve Price
681e5e7a09 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Bruce Evans
67036295bc Fixed bogus existence check related to searching for a nearby obj directory.
Now the search is as incomplete as elsewhere instead of broken.
1997-04-10 15:15:43 +00:00
Andrey A. Chernov
1037a51b7e Add fake codesets 3 & 4
Submitted by: junker@jazz.snu.ac.kr
1997-03-25 16:03:16 +00:00
Andrey A. Chernov
80802b9ec5 Update Korean locale
Should go into 2.2
1997-03-13 07:51:43 +00:00
Adam David
edc2323809 minor nit 1997-02-28 22:44:31 +00:00
Wolfram Schneider
ddcf27e1c8 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>
1997-02-28 19:51:39 +00:00
Andrey A. Chernov
b02761ff46 Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
1997-02-22 22:50:57 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5 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.
1997-01-14 07:20:47 +00:00
Mike Pritchard
1ae7534949 Add a couple of xrefs. 1997-01-11 19:57:47 +00:00
Andrey A. Chernov
5e572a7e34 Fix bugs in runes data handling
Should go into 2.2
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-01-07 09:58:32 +00:00
Andrey A. Chernov
e132ded975 Fix non-break space attrs 1996-08-20 14:36:56 +00:00
Jordan K. Hubbard
cd9a2f5c28 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.
1996-06-24 04:26:21 +00:00
Poul-Henning Kamp
1d95dc910b Backout yacc changes. 1996-06-02 17:22:01 +00:00
Poul-Henning Kamp
fb808b4cb8 yacc rules change. 1996-05-30 22:48:22 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Andrey A. Chernov
1b31f20e14 Add $id$ and ${COPY} 1995-11-03 14:51:45 +00:00
Andrey A. Chernov
40e33105d2 Cleanup make process per Bruce suggestions 1995-11-03 14:39:11 +00:00
Andrey A. Chernov
31463f38ef Add strict 7bit ASCII locale 1995-10-28 13:32:30 +00:00
Andrey A. Chernov
c3b974751f Link LC_CTYPE inside dirs instead of dirs linking 1995-10-22 00:53:56 +00:00
Andrey A. Chernov
7ff83380e0 Fix ALPHA range 1995-10-15 16:53:43 +00:00
Andrey A. Chernov
283f4b8de4 Various fixes mostly for letters range
Obtained from: partially from Kaleb S. Keithley <kaleb@x.org> patch
1995-10-15 16:49:16 +00:00
Andrey A. Chernov
d70b2d75d4 XDIGIT range fixed. This change is cosmetique and not affect anyone,
because ASCII locale used for isdigit and isxdigit in any case.
1995-10-15 15:50:19 +00:00
Andrey A. Chernov
56718b4a07 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:25:34 +00:00
Andrey A. Chernov
98a59e226e Add yet one popular russian code table 1995-04-30 14:45:00 +00:00
Andrey A. Chernov
2c80666172 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
Andrey A. Chernov
90892cea75 Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
Andrey A. Chernov
c9477304b6 Remove links before creating them 1994-12-08 22:27:49 +00:00
Andrey A. Chernov
1d56c96ced Remove iso8859-1 to proper name 1994-12-04 21:13:56 +00:00
Andrey A. Chernov
35daa0b773 Dig out full locale names set for ISO8859-1 (great success!) 1994-12-04 21:11:29 +00:00
Andrey A. Chernov
aca02e247c Found at least one proper name for ISO8859-1 locale,
still need more names
1994-12-04 20:46:33 +00:00
Andrey A. Chernov
622d64cf1d 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.
1994-12-04 20:27:31 +00:00
Andrey A. Chernov
5bf433c36e Add quick description of rules how to build locale name,
f.e. iso_8859_1 name is completely incorrect
1994-12-04 20:12:10 +00:00
Andrey A. Chernov
c0fc067043 Fix encoding scheme UTF2 --> None 1994-12-04 19:54:19 +00:00
Andrey A. Chernov
7177204106 Reorganize data to not mess with sources 1994-12-04 19:52:31 +00:00
Andrey A. Chernov
69c238f94d Fix wrong encoding scheme UTF2 --> NONE 1994-12-04 19:41:35 +00:00
Jordan K. Hubbard
6a2af57e44 Install Kaleb's iso_8859_1 by default. 1994-12-04 12:22:45 +00:00
Jordan K. Hubbard
f16fb8e0f7 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
1994-12-04 12:19:25 +00:00
Bruce Evans
8b69568f11 u_long -> unsigned long so that we don't depend on namespace pollution
in <stdio.h>.
1994-09-05 14:02:42 +00:00
Andrey A. Chernov
62c58beedb Add and properly install locales 1994-09-03 14:00:40 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00